From 2986d23295d459b4f498c0d3ca2d9e2c1d3c27f4 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 4 Jan 2022 19:07:37 +0800 Subject: [PATCH] chore: update copyright to fit2cloud (#22) --- docusaurus.config.js | 2 +- i18n/zh-Hans/code.json | 60 +++++++++---------- .../current.json | 8 +-- .../version-1.4.15.json | 46 ++++++++++++++ .../version-1.4.16.json | 46 ++++++++++++++ .../docusaurus-theme-classic/footer.json | 8 +-- 6 files changed, 131 insertions(+), 39 deletions(-) create mode 100644 i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.15.json create mode 100644 i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.16.json diff --git a/docusaurus.config.js b/docusaurus.config.js index 3cc29ae..9c9ce47 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -86,7 +86,7 @@ const darkCodeTheme = require("prism-react-renderer/themes/palenight"); }, footer: { style: "dark", - copyright: `Copyright © ${new Date().getFullYear()} halo-dev, Inc. Built with Docusaurus.`, + copyright: `Copyright © 2022 FIT2CLOUD 飞致云. Built with Docusaurus.`, links: [ { title: "关于", diff --git a/i18n/zh-Hans/code.json b/i18n/zh-Hans/code.json index eb9b7c1..88b81d1 100644 --- a/i18n/zh-Hans/code.json +++ b/i18n/zh-Hans/code.json @@ -1,4 +1,12 @@ { + "theme.ErrorPageContent.title": { + "message": "页面已崩溃。", + "description": "The title of the fallback page when the page crashed" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "重试", + "description": "The label of the button to try again when the page crashed" + }, "theme.NotFound.title": { "message": "找不到页面", "description": "The title of the 404 page" @@ -15,12 +23,16 @@ "message": "关闭", "description": "The ARIA label for close button of announcement bar" }, + "theme.BackToTopButton.buttonAriaLabel": { + "message": "回到顶部", + "description": "The ARIA label for the back to top button" + }, "theme.blog.archive.title": { - "message": "Archive", + "message": "历史博文", "description": "The page & hero title of the blog archive page" }, "theme.blog.archive.description": { - "message": "Archive", + "message": "历史博文", "description": "The page & hero description of the blog archive page" }, "theme.blog.paginator.navAriaLabel": { @@ -103,22 +115,26 @@ "message": "下一页", "description": "The label used to navigate to the next doc" }, - "theme.docs.sidebar.collapseButtonTitle": { - "message": "收起侧边栏", - "description": "The title attribute for collapse button of doc sidebar" - }, - "theme.docs.sidebar.collapseButtonAriaLabel": { - "message": "收起侧边栏", - "description": "The title attribute for collapse button of doc sidebar" + "theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": { + "message": "打开/收起侧边栏菜单「{label}」", + "description": "The ARIA label to toggle the collapsible sidebar category" }, "theme.docs.tagDocListPageTitle.nDocsTagged": { "message": "{count} 篇文档带有标签", "description": "Pluralized label for \"{count} docs tagged\". 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.docs.tagDocListPageTitle": { - "message": "{nDocsTagged} 含有标签「{tagName}」", + "message": "{nDocsTagged} 篇带有标签「{tagName}」", "description": "The title of the page for a docs tag" }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "收起侧边栏", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "收起侧边栏", + "description": "The title attribute for collapse button of doc sidebar" + }, "theme.docs.versions.unreleasedVersionLabel": { "message": "此为 {siteTitle} {versionLabel} 版尚未发行的文档。", "description": "The label used to tell the user that he's browsing an unreleased doc version" @@ -175,26 +191,6 @@ "message": "标签:", "description": "The label alongside a tag list" }, - "theme.tags.tagsPageTitle": { - "message": "标签", - "description": "The title of the tag list page" - }, - "theme.ErrorPageContent.title": { - "message": "页面已崩溃。", - "description": "The title of the fallback page when the page crashed" - }, - "theme.ErrorPageContent.tryAgain": { - "message": "重试", - "description": "The label of the button to try again when the page crashed" - }, - "theme.BackToTopButton.buttonAriaLabel": { - "message": "回到顶部", - "description": "The ARIA label for the back to top button" - }, - "theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": { - "message": "打开/收起侧边栏菜单「{label}」", - "description": "The ARIA label to toggle the collapsible sidebar category" - }, "theme.SearchPage.documentsFound.plurals": { "message": "找到 {count} 份文件", "description": "Pluralized label for \"{count} documents found\". 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)" @@ -230,5 +226,9 @@ "theme.SearchBar.label": { "message": "搜索", "description": "The ARIA label and placeholder for search button" + }, + "theme.tags.tagsPageTitle": { + "message": "标签", + "description": "The title of the tag list page" } } \ No newline at end of file diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json b/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json index 73e2a8a..339d9b2 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current.json @@ -27,6 +27,10 @@ "message": "系统开发", "description": "The label for category 系统开发 in sidebar tutorialSidebar" }, + "sidebar.tutorialSidebar.category.主题开发": { + "message": "主题开发", + "description": "The label for category 主题开发 in sidebar tutorialSidebar" + }, "sidebar.tutorialSidebar.category.参与贡献": { "message": "参与贡献", "description": "The label for category 参与贡献 in sidebar tutorialSidebar" @@ -35,10 +39,6 @@ "message": "腾讯云开发者实验室", "description": "The label for link 腾讯云开发者实验室 in sidebar tutorialSidebar, linking to https://cloud.tencent.com/developer/labs/lab/10523" }, - "sidebar.tutorialSidebar.category.主题开发": { - "message": "主题开发", - "description": "The label for category 主题开发 in sidebar tutorialSidebar" - }, "sidebar.tutorialSidebar.link.REST API": { "message": "REST API", "description": "The label for link REST API in sidebar tutorialSidebar, linking to https://api.halo.run" diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.15.json b/i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.15.json new file mode 100644 index 0000000..8d45835 --- /dev/null +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.15.json @@ -0,0 +1,46 @@ +{ + "version.label": { + "message": "1.4.15", + "description": "The label for version 1.4.15" + }, + "sidebar.tutorialSidebar.category.入门": { + "message": "入门", + "description": "The label for category 入门 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.安装指南": { + "message": "安装指南", + "description": "The label for category 安装指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.其他指南": { + "message": "其他指南", + "description": "The label for category 其他指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.用户指南": { + "message": "用户指南", + "description": "The label for category 用户指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.开发者指南": { + "message": "开发者指南", + "description": "The label for category 开发者指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.系统开发": { + "message": "系统开发", + "description": "The label for category 系统开发 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.主题开发": { + "message": "主题开发", + "description": "The label for category 主题开发 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.参与贡献": { + "message": "参与贡献", + "description": "The label for category 参与贡献 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.link.腾讯云开发者实验室": { + "message": "腾讯云开发者实验室", + "description": "The label for link 腾讯云开发者实验室 in sidebar tutorialSidebar, linking to https://cloud.tencent.com/developer/labs/lab/10523" + }, + "sidebar.tutorialSidebar.link.REST API": { + "message": "REST API", + "description": "The label for link REST API in sidebar tutorialSidebar, linking to https://api.halo.run" + } +} \ No newline at end of file diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.16.json b/i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.16.json new file mode 100644 index 0000000..dedd609 --- /dev/null +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/version-1.4.16.json @@ -0,0 +1,46 @@ +{ + "version.label": { + "message": "1.4.16", + "description": "The label for version 1.4.16" + }, + "sidebar.tutorialSidebar.category.入门": { + "message": "入门", + "description": "The label for category 入门 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.安装指南": { + "message": "安装指南", + "description": "The label for category 安装指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.其他指南": { + "message": "其他指南", + "description": "The label for category 其他指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.用户指南": { + "message": "用户指南", + "description": "The label for category 用户指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.开发者指南": { + "message": "开发者指南", + "description": "The label for category 开发者指南 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.系统开发": { + "message": "系统开发", + "description": "The label for category 系统开发 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.主题开发": { + "message": "主题开发", + "description": "The label for category 主题开发 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.参与贡献": { + "message": "参与贡献", + "description": "The label for category 参与贡献 in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.link.腾讯云开发者实验室": { + "message": "腾讯云开发者实验室", + "description": "The label for link 腾讯云开发者实验室 in sidebar tutorialSidebar, linking to https://cloud.tencent.com/developer/labs/lab/10523" + }, + "sidebar.tutorialSidebar.link.REST API": { + "message": "REST API", + "description": "The label for link REST API in sidebar tutorialSidebar, linking to https://api.halo.run" + } +} \ No newline at end of file diff --git a/i18n/zh-Hans/docusaurus-theme-classic/footer.json b/i18n/zh-Hans/docusaurus-theme-classic/footer.json index e047023..2155252 100644 --- a/i18n/zh-Hans/docusaurus-theme-classic/footer.json +++ b/i18n/zh-Hans/docusaurus-theme-classic/footer.json @@ -1,8 +1,4 @@ { - "copyright": { - "message": "Copyright © 2021 halo-dev, Inc. Built with Docusaurus.", - "description": "The footer copyright" - }, "link.title.关于": { "message": "关于", "description": "The title of the footer links column with title=关于 in the footer" @@ -54,5 +50,9 @@ "link.item.label.Telegram Group": { "message": "Telegram Group", "description": "The label of footer link with label=Telegram Group linking to https://t.me/HaloBlog" + }, + "copyright": { + "message": "Copyright © 2022 FIT2CLOUD 飞致云. Built with Docusaurus.", + "description": "The footer copyright" } } \ No newline at end of file