Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,20 +150,15 @@ const config = {
position: "right",
},
{
href: "https://releases.halo.run",
label: "版本",
href: "https://www.lxware.cn/halo?code=mcYhwMkn",
label: "版本对比",
position: "right",
},
{
href: "https://github.com/halo-dev/halo",
label: "GitHub",
position: "right",
},
{
href: "https://gitee.com/halo-dev/halo",
label: "Gitee",
position: "right",
},
],
},
footer: {
Expand Down
84 changes: 42 additions & 42 deletions i18n/zh-Hans/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@
"theme.docs.versionBadge.label": {
"message": "版本:{versionLabel}"
},
"theme.common.editThisPage": {
"message": "编辑此页",
"description": "The link label to edit the current page"
},
"theme.docs.versions.unreleasedVersionLabel": {
"message": "此为 {siteTitle} {versionLabel} 版尚未发行的文档。",
"description": "The label used to tell the user that he's browsing an unreleased doc version"
Expand All @@ -116,6 +112,10 @@
"message": "最新版本",
"description": "The label used for the latest version suggestion link label"
},
"theme.common.editThisPage": {
"message": "编辑此页",
"description": "The link label to edit the current page"
},
"theme.common.headingLinkTitle": {
"message": "{heading}的直接链接",
"description": "Title for link to heading"
Expand Down Expand Up @@ -144,6 +144,10 @@
"message": "标签:",
"description": "The label alongside a tag list"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"message": "关闭",
"description": "The ARIA label for close button of announcement bar"
},
"theme.admonition.caution": {
"message": "警告",
"description": "The default label used for the Caution admonition (:::caution)"
Expand Down Expand Up @@ -172,10 +176,6 @@
"message": "最近博文导航",
"description": "The ARIA label for recent posts in the blog sidebar"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"message": "关闭",
"description": "The ARIA label for close button of announcement bar"
},
"theme.DocSidebarItem.expandCategoryAriaLabel": {
"message": "展开侧边栏分类 '{label}'",
"description": "The ARIA label to expand the sidebar category"
Expand All @@ -192,6 +192,10 @@
"message": "主导航",
"description": "The ARIA label for the main navigation"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "本页总览",
"description": "The label used by the button on the collapsible TOC component"
},
"theme.NotFound.p1": {
"message": "我们找不到您要找的页面。",
"description": "The first paragraph of the 404 page"
Expand All @@ -200,14 +204,26 @@
"message": "请联系原始链接来源网站的所有者,并告知他们链接已损坏。",
"description": "The 2nd paragraph of the 404 page"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "本页总览",
"description": "The label used by the button on the collapsible TOC component"
},
"theme.navbar.mobileLanguageDropdown.label": {
"message": "选择语言",
"description": "The label for the mobile language switcher dropdown"
},
"theme.blog.post.readingTime.plurals": {
"message": "阅读需 {readingTime} 分钟",
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.CodeBlock.copy": {
"message": "复制",
"description": "The copy button label on code blocks"
},
"theme.CodeBlock.copied": {
"message": "复制成功",
"description": "The copied button label on code blocks"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "复制代码到剪贴板",
"description": "The ARIA label for copy code blocks button"
},
"theme.blog.post.readMore": {
"message": "阅读更多",
"description": "The label used in blog post item excerpts to link to full blog posts"
Expand All @@ -216,22 +232,10 @@
"message": "阅读 {title} 的全文",
"description": "The ARIA label for the link to full blog posts from excerpts"
},
"theme.blog.post.readingTime.plurals": {
"message": "阅读需 {readingTime} 分钟",
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
},
"theme.CodeBlock.wordWrapToggle": {
"message": "切换自动换行",
"description": "The title attribute for toggle word wrapping button of code block lines"
},
"theme.docs.sidebar.navAriaLabel": {
"message": "文档侧边栏",
"description": "The ARIA label for the sidebar navigation"
},
"theme.docs.breadcrumbs.home": {
"message": "主页面",
"description": "The ARIA label for the home page in the breadcrumbs"
},
"theme.docs.sidebar.collapseButtonTitle": {
"message": "收起侧边栏",
"description": "The title attribute for collapse button of doc sidebar"
Expand All @@ -240,25 +244,13 @@
"message": "收起侧边栏",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.CodeBlock.copy": {
"message": "复制",
"description": "The copy button label on code blocks"
},
"theme.CodeBlock.copied": {
"message": "复制成功",
"description": "The copied button label on code blocks"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "复制代码到剪贴板",
"description": "The ARIA label for copy code blocks button"
},
"theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": {
"message": "Expand the dropdown",
"description": "The ARIA label of the button to expand the mobile dropdown navbar item"
"theme.docs.breadcrumbs.home": {
"message": "主页面",
"description": "The ARIA label for the home page in the breadcrumbs"
},
"theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": {
"message": "Collapse the dropdown",
"description": "The ARIA label of the button to collapse the mobile dropdown navbar item"
"theme.docs.sidebar.navAriaLabel": {
"message": "文档侧边栏",
"description": "The ARIA label for the sidebar navigation"
},
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
"message": "关闭导航栏",
Expand All @@ -272,6 +264,14 @@
"message": "切换导航栏",
"description": "The ARIA label for hamburger menu button of mobile navigation"
},
"theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": {
"message": "Expand the dropdown",
"description": "The ARIA label of the button to expand the mobile dropdown navbar item"
},
"theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": {
"message": "Collapse the dropdown",
"description": "The ARIA label of the button to collapse the mobile dropdown navbar item"
},
"theme.docs.sidebar.expandButtonTitle": {
"message": "展开侧边栏",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
Expand Down
4 changes: 4 additions & 0 deletions i18n/zh-Hans/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
"message": "Rainbond 一键部署",
"description": "The label for link 'Rainbond 一键部署' in sidebar 'tutorial', linking to 'https://hub.grapps.cn/marketplace/apps/1255'"
},
"sidebar.tutorial.link.更新日志": {
"message": "更新日志",
"description": "The label for link '更新日志' in sidebar 'tutorial', linking to 'https://releases.halo.run/changelog'"
},
"sidebar.developer.category.系统开发": {
"message": "系统开发",
"description": "The label for category '系统开发' in sidebar 'developer'"
Expand Down
4 changes: 4 additions & 0 deletions i18n/zh-Hans/docusaurus-plugin-content-docs/version-2.23.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
"message": "Rainbond 一键部署",
"description": "The label for link 'Rainbond 一键部署' in sidebar 'tutorial', linking to 'https://hub.grapps.cn/marketplace/apps/1255'"
},
"sidebar.tutorial.link.更新日志": {
"message": "更新日志",
"description": "The label for link '更新日志' in sidebar 'tutorial', linking to 'https://releases.halo.run/changelog'"
},
"sidebar.developer.category.系统开发": {
"message": "系统开发",
"description": "The label for category '系统开发' in sidebar 'developer'"
Expand Down
6 changes: 3 additions & 3 deletions i18n/zh-Hans/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"message": "论坛",
"description": "Navbar item with label 论坛"
},
"item.label.版本": {
"message": "版本",
"description": "Navbar item with label 版本"
"item.label.版本对比": {
"message": "版本对比",
"description": "Navbar item with label 版本对比"
},
"item.label.GitHub": {
"message": "GitHub",
Expand Down
6 changes: 6 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ module.exports = {
items: ["contribution/issue", "contribution/pr"],
},
"about",
{
type: "link",
label: "更新日志",
href: "https://releases.halo.run/changelog",
description: "查看 Halo 的更新日志",
}
],

developer: [
Expand Down
21 changes: 10 additions & 11 deletions versioned_sidebars/version-2.23-sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,15 @@
"link": {
"type": "generated-index"
},
"items": [
"contribution/issue",
"contribution/pr"
]
"items": ["contribution/issue", "contribution/pr"]
},
"about"
"about",
{
"type": "link",
"label": "更新日志",
"href": "https://releases.halo.run/changelog",
"description": "查看 Halo 的更新日志"
}
],
"developer": [
{
Expand Down Expand Up @@ -344,9 +347,7 @@
"link": {
"type": "generated-index"
},
"items": [
"developer-guide/plugin/examples/todolist"
]
"items": ["developer-guide/plugin/examples/todolist"]
},
"developer-guide/plugin/api-changelog"
]
Expand Down Expand Up @@ -431,9 +432,7 @@
"link": {
"type": "generated-index"
},
"items": [
"developer-guide/appendix/publish-app"
]
"items": ["developer-guide/appendix/publish-app"]
}
]
}
Loading