Repository navigation
fix: translate the remaining English page titles and blog cards - #1965
Merged
awxiaoxian2020 merged 1 commit intoOct 20, 2026
Merged
Conversation
- 4 个页面的 title 还是英文(内置 React 组件 / React 社区 / 客户端 React DOM API / React 博客),而侧边栏和正文都已是中文,页面标题与侧边栏对不上。 - 博客索引页还有 4 张卡片是英文标题 + 英文摘要,其余卡片都是中文。 - 索引页里 12 张卡片的日期仍是 "October 7, 2025" 这种英文写法,统一成 「2025 年 10 月 7 日」,与同文件其他卡片一致。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
awxiaoxian2020
approved these changes
Oct 20, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
把界面和页面标题里剩下的英文补齐。这几处的正文、侧边栏都已经是中文,只有标题/卡片还是英文,同一页面里看起来是割裂的。
src/content/reference/react/components.mdBuilt-in React Components→内置 React 组件(侧边栏是「组件」)src/content/community/index.mdReact Community→React 社区(侧边栏是「社区」)src/content/reference/react-dom/client/index.mdClient React DOM API→客户端 React DOM API(侧边栏是「客户端 API」)src/content/blog/index.mdReact Blog→React 博客;4 张仍是英文的卡片补成中文(标题沿用对应文章 / sidebar 已有的译名,例如介绍 React 基金会、React Labs:视图过渡、Activity 等功能);12 张卡片的日期从October 7, 2025统一成2025 年 10 月 7 日,与文件里其余卡片一致没有改动任何英文产品名(
React 19.2、React Compiler v1.0、useOptimistic一类的 API 名保持原样)。yarn lint通过。