Skip to content

Commit a5136e5

Browse files
daochouwanguawxiaoxian2020YucohnyQC-L
authored
docs(cn): l18n for the home page (#1087)
* translate the home page 翻译首页 * update * fix ci * Update src/components/Layout/HomeContent.js [skip ci] * update * fix ci * Update src/components/Layout/HomeContent.js Co-authored-by: QiChang Li <github@liqichang.com> * Update src/components/Layout/HomeContent.js Co-authored-by: Yucohny <79147654+Yucohny@users.noreply.github.com> --------- Co-authored-by: Xavi Lee <awxiaoxian2020@163.com> Co-authored-by: Yucohny <79147654+Yucohny@users.noreply.github.com> Co-authored-by: QiChang Li <github@liqichang.com>
1 parent c36eb2e commit a5136e5

File tree

3 files changed

+106
-131
lines changed

3 files changed

+106
-131
lines changed

src/components/Layout/Footer.tsx

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -286,50 +286,44 @@ export function Footer() {
286286
</div>
287287
<div className="flex flex-col">
288288
<FooterLink href="/learn" isHeader={true}>
289-
Learn React
289+
学习 React
290290
</FooterLink>
291-
<FooterLink href="/learn/">Quick Start</FooterLink>
292-
<FooterLink href="/learn/installation">Installation</FooterLink>
293-
<FooterLink href="/learn/describing-the-ui">
294-
Describing the UI
295-
</FooterLink>
296-
<FooterLink href="/learn/adding-interactivity">
297-
Adding Interactivity
298-
</FooterLink>
299-
<FooterLink href="/learn/managing-state">Managing State</FooterLink>
300-
<FooterLink href="/learn/escape-hatches">Escape Hatches</FooterLink>
291+
<FooterLink href="/learn/">快速入门</FooterLink>
292+
<FooterLink href="/learn/installation">安装</FooterLink>
293+
<FooterLink href="/learn/describing-the-ui">描述 UI</FooterLink>
294+
<FooterLink href="/learn/adding-interactivity">添加交互</FooterLink>
295+
<FooterLink href="/learn/managing-state">状态管理</FooterLink>
296+
<FooterLink href="/learn/escape-hatches">应急方案</FooterLink>
301297
</div>
302298
<div className="flex flex-col">
303299
<FooterLink href="/reference/react" isHeader={true}>
304-
API Reference
300+
API 参考
305301
</FooterLink>
306-
<FooterLink href="/reference/react">React APIs</FooterLink>
307-
<FooterLink href="/reference/react-dom">React DOM APIs</FooterLink>
302+
<FooterLink href="/reference/react">React API</FooterLink>
303+
<FooterLink href="/reference/react-dom">React DOM API</FooterLink>
308304
</div>
309305
<div className="md:col-start-2 xl:col-start-4 flex flex-col">
310306
<FooterLink href="/community" isHeader={true}>
311-
Community
307+
社区
312308
</FooterLink>
313309
<FooterLink href="https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md">
314-
Code of Conduct
310+
行为准则
315311
</FooterLink>
316-
<FooterLink href="/community/team">Meet the Team</FooterLink>
312+
<FooterLink href="/community/team">团队</FooterLink>
317313
<FooterLink href="/community/docs-contributors">
318-
Docs Contributors
319-
</FooterLink>
320-
<FooterLink href="/community/acknowledgements">
321-
Acknowledgements
314+
文档贡献者
322315
</FooterLink>
316+
<FooterLink href="/community/acknowledgements">鸣谢</FooterLink>
323317
</div>
324318
<div className="flex flex-col">
325-
<FooterLink isHeader={true}>More</FooterLink>
326-
<FooterLink href="/blog">Blog</FooterLink>
319+
<FooterLink isHeader={true}>了解更多</FooterLink>
320+
<FooterLink href="/blog">博客</FooterLink>
327321
<FooterLink href="https://reactnative.dev/">React Native</FooterLink>
328322
<FooterLink href="https://opensource.facebook.com/legal/privacy">
329-
Privacy
323+
隐私政策
330324
</FooterLink>
331325
<FooterLink href="https://opensource.fb.com/legal/terms/">
332-
Terms
326+
条款
333327
</FooterLink>
334328
<div className="flex flex-row mt-8 gap-x-2">
335329
<ExternalLink

0 commit comments

Comments
 (0)