Skip to content

Commit

Permalink
Update style
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotora committed Sep 30, 2023
1 parent 5c29e08 commit f240ea6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 19 deletions.
6 changes: 3 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['zh', 'en'],
locales: ['en', 'zh'],
},

presets: [
Expand Down Expand Up @@ -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',
},
Expand Down
22 changes: 11 additions & 11 deletions i18n/zh/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
8 changes: 4 additions & 4 deletions i18n/zh/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"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 文档"
},
"item.label.GitHub": {
"message": "GitHub",
"description": "Navbar item with label GitHub"
},
"item.label.主页": {
"item.label.Home Page": {
"message": "主页",
"description": "Navbar item with label 主页"
}
Expand Down
1 change: 0 additions & 1 deletion src/theme/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Footer from '@theme-original/Footer';
export default function FooterWrapper(props) {
return (
<>
<Footer {...props} />
</>
);
}

0 comments on commit f240ea6

Please sign in to comment.