diff --git a/docusaurus.config.js b/docusaurus.config.js index bcaf11f..78b0d24 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -29,7 +29,7 @@ const config = { // to replace "en" with "zh-Hans". i18n: { defaultLocale: 'en', - locales: ['zh', 'en'], + locales: ['en', 'zh'], }, presets: [ @@ -79,11 +79,11 @@ const config = { type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', - label: '文档', + label: 'Document', }, { position: 'left', - label: '主页', + label: 'Home Page', href: 'https://warudo.app/', target: '_blank', }, diff --git a/i18n/zh/code.json b/i18n/zh/code.json index bfbd10b..ede1752 100644 --- a/i18n/zh/code.json +++ b/i18n/zh/code.json @@ -4,39 +4,39 @@ "description": "The title of the fallback page when the page crashed" }, "theme.NotFound.title": { - "message": "Page Not Found", + "message": "找不到页面", "description": "The title of the 404 page" }, "theme.NotFound.p1": { - "message": "We could not find what you were looking for.", + "message": "你正在访问的页面好像不见了", "description": "The first paragraph of the 404 page" }, "theme.NotFound.p2": { - "message": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.", + "message": "请检查您访问的链接,如果发现了损坏的链接可以像我们反馈", "description": "The 2nd paragraph of the 404 page" }, "theme.admonition.note": { - "message": "note", + "message": "备注", "description": "The default label used for the Note admonition (:::note)" }, "theme.admonition.tip": { - "message": "tip", + "message": "提示", "description": "The default label used for the Tip admonition (:::tip)" }, "theme.admonition.danger": { - "message": "danger", + "message": "小心", "description": "The default label used for the Danger admonition (:::danger)" }, "theme.admonition.info": { - "message": "info", + "message": "信息", "description": "The default label used for the Info admonition (:::info)" }, "theme.admonition.caution": { - "message": "caution", + "message": "注意", "description": "The default label used for the Caution admonition (:::caution)" }, "theme.BackToTopButton.buttonAriaLabel": { - "message": "Scroll back to top", + "message": "回到顶部", "description": "The ARIA label for the back to top button" }, "theme.blog.archive.title": { @@ -108,11 +108,11 @@ "description": "The ARIA label for the docs pagination" }, "theme.docs.paginator.previous": { - "message": "Previous", + "message": "上一篇", "description": "The label used to navigate to the previous doc" }, "theme.docs.paginator.next": { - "message": "Next", + "message": "下一篇", "description": "The label used to navigate to the next doc" }, "theme.docs.tagDocListPageTitle.nDocsTagged": { diff --git a/i18n/zh/docusaurus-theme-classic/navbar.json b/i18n/zh/docusaurus-theme-classic/navbar.json index d832aed..4e5e071 100644 --- a/i18n/zh/docusaurus-theme-classic/navbar.json +++ b/i18n/zh/docusaurus-theme-classic/navbar.json @@ -1,13 +1,13 @@ { "title": { - "message": "Warudo Document", + "message": "Warudo 文档", "description": "The title in the navbar" }, "logo.alt": { - "message": "My Site Logo", + "message": "Warudo 文档", "description": "The alt text of navbar logo" }, - "item.label.文档": { + "item.label.Document": { "message": "文档", "description": "Navbar item with label 文档" }, @@ -15,7 +15,7 @@ "message": "GitHub", "description": "Navbar item with label GitHub" }, - "item.label.主页": { + "item.label.Home Page": { "message": "主页", "description": "Navbar item with label 主页" } diff --git a/src/theme/Footer/index.js b/src/theme/Footer/index.js index f8b73fc..e45cf7f 100644 --- a/src/theme/Footer/index.js +++ b/src/theme/Footer/index.js @@ -4,7 +4,6 @@ import Footer from '@theme-original/Footer'; export default function FooterWrapper(props) { return ( <> -