Skip to content

Commit

Permalink
refactor(website): update Schema Library translation
Browse files Browse the repository at this point in the history
- Simplify the Chinese translation for "Schema Library" section title
- Improve consistency in terminology across the website
  • Loading branch information
xcfox committed Feb 21, 2025
1 parent 66f0295 commit 445da5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions website/app/[lang]/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,7 @@ const SchemaGraphQlMDX: React.FC<MDXProps> = homeSource.getPage([

const SchemaLibrary = function SchemaLibrary({ lang, className }: LangProps) {
const title =
lang === "zh"
? "最为熟知的 Schema Library"
: "The most familiar Schema Library"
lang === "zh" ? "最为熟知的类型库" : "The most familiar Schema Library"
const intros = lang === "zh" ? SchemaLibraryCN : SchemaLibraryEN
return (
<section className={clsx("px-6 flex flex-col items-center", className)}>
Expand Down

0 comments on commit 445da5a

Please sign in to comment.