Skip to content

Commit

Permalink
Merge pull request #52 from Ultraschall/ch-translation
Browse files Browse the repository at this point in the history
Ch translation
  • Loading branch information
Bra-Ger authored Nov 17, 2024
2 parents c0be571 + 15e112a commit 5d98674
Show file tree
Hide file tree
Showing 25 changed files with 2,001 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const darkTheme = themes.dracula;
},
i18n: {
defaultLocale: 'de',
locales: ['de', 'en'],
locales: ['de', 'en', 'zh-cn'],
},
scripts: [
{
Expand Down
4 changes: 4 additions & 0 deletions i18n/en/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"message": "Intro",
"description": "The label for category Einführung in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Installation": {
"message": "Installation ",
"description": "The label for the doc item helfen und community in sidebar tutorialSidebar, linking to the doc partcipants"
},
"sidebar.tutorialSidebar.category.Übersicht": {
"message": "Overview",
"description": "The label for category Übersicht in sidebar tutorialSidebar"
Expand Down
4 changes: 4 additions & 0 deletions i18n/en/docusaurus-plugin-content-docs/version-5.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"message": "Intro",
"description": "The label for category Einführung in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Installation": {
"message": "Installation ",
"description": "The label for the doc item helfen und community in sidebar tutorialSidebar, linking to the doc partcipants"
},
"sidebar.tutorialSidebar.category.Übersicht": {
"message": "Overview",
"description": "The label for category Übersicht in sidebar tutorialSidebar"
Expand Down
297 changes: 297 additions & 0 deletions i18n/zh-cn/code.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,297 @@
{
"Feature.simpleGuideHeadline": {
"message": "易于上手",
"description": "Guide headline"
},
"Feature.simpleGuide": {
"message": "ultraschall 使用者给 ultraschall 使用者的指南",
"description": "Guide"
},
"Feature.reducedToTheEssentialsHeadline": {
"message": "只关注重点",
"description": "reducedToTheEssentials headline"
},
"Feature.reducedToTheEssentials": {
"message": "这个手册只关注最重要的信息,不是冗余的教科书。",
"description": "reduced to the essentials"
},
"Feature.furtherDevelopedByYou": {
"message": "帮助我们让这个手册更好。",
"description": "further developed by you"
},
"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"
},
"theme.NotFound.p1": {
"message": "我们不知道你在找啥",
"description": "The first paragraph of the 404 page"
},
"theme.NotFound.p2": {
"message": "请联系站长,提供页面的原始链接,让他知道链接出问题了。",
"description": "The 2nd paragraph of the 404 page"
},
"theme.AnnouncementBar.closeButtonAriaLabel": {
"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",
"description": "The page & hero title of the blog archive page"
},
"theme.blog.archive.description": {
"message": "Archive",
"description": "The page & hero description of the blog archive page"
},
"theme.blog.paginator.navAriaLabel": {
"message": "Blog list page navigation",
"description": "The ARIA label for the blog pagination"
},
"theme.blog.paginator.newerEntries": {
"message": "Newer Entries",
"description": "The label used to navigate to the newer blog posts page (previous page)"
},
"theme.blog.paginator.olderEntries": {
"message": "Older Entries",
"description": "The label used to navigate to the older blog posts page (next page)"
},
"theme.blog.post.readingTime.plurals": {
"message": "One min read|{readingTime} min read",
"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.blog.post.readMoreLabel": {
"message": "Read more about {title}",
"description": "The ARIA label for the link to full blog posts from excerpts"
},
"theme.blog.post.readMore": {
"message": "Read More",
"description": "The label used in blog post item excerpts to link to full blog posts"
},
"theme.blog.post.paginator.navAriaLabel": {
"message": "Blog post page navigation",
"description": "The ARIA label for the blog posts pagination"
},
"theme.blog.post.paginator.newerPost": {
"message": "新的文章",
"description": "The blog post button label to navigate to the newer/previous post"
},
"theme.blog.post.paginator.olderPost": {
"message": "旧的文章",
"description": "The blog post button label to navigate to the older/next post"
},
"theme.blog.sidebar.navAriaLabel": {
"message": "Blog recent posts navigation",
"description": "The ARIA label for recent posts in the blog sidebar"
},
"theme.blog.post.plurals": {
"message": "One post|{count} posts",
"description": "Pluralized label for \"{count} posts\". 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.blog.tagTitle": {
"message": "{nPosts} tagged with \"{tagName}\"",
"description": "The title of the page for a blog tag"
},
"theme.tags.tagsPageLink": {
"message": "查看所有标签",
"description": "The label of the link targeting the tag list page"
},
"theme.colorToggle.ariaLabel": {
"message": "切换明暗模式 (当前 {mode})",
"description": "The ARIA label for the navbar color mode toggle"
},
"theme.colorToggle.ariaLabel.mode.dark": {
"message": "黑暗模式",
"description": "The name for the dark color mode"
},
"theme.colorToggle.ariaLabel.mode.light": {
"message": "明亮模式",
"description": "The name for the light color mode"
},
"theme.docs.DocCard.categoryDescription": {
"message": "{count} items",
"description": "The default description for a category card in the generated index about how many items this category includes"
},
"theme.docs.sidebar.expandButtonTitle": {
"message": "展开侧边栏",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.sidebar.expandButtonAriaLabel": {
"message": "展开侧边栏",
"description": "The ARIA label and title attribute for expand button of doc sidebar"
},
"theme.docs.paginator.navAriaLabel": {
"message": "Docs pages navigation",
"description": "The ARIA label for the docs pagination"
},
"theme.docs.paginator.previous": {
"message": "之前",
"description": "The label used to navigate to the previous doc"
},
"theme.docs.paginator.next": {
"message": "之后",
"description": "The label used to navigate to the next doc"
},
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
"message": "Toggle the collapsible sidebar category '{label}'",
"description": "The ARIA label to toggle the collapsible sidebar category"
},
"theme.docs.tagDocListPageTitle.nDocsTagged": {
"message": "One doc tagged|{count} docs tagged",
"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} with \"{tagName}\"",
"description": "The title of the page for a docs tag"
},
"theme.docs.versionBadge.label": {
"message": "Version: {versionLabel}"
},
"theme.docs.versions.unreleasedVersionLabel": {
"message": "This is unreleased documentation for {siteTitle} {versionLabel} version.",
"description": "The label used to tell the user that he's browsing an unreleased doc version"
},
"theme.docs.versions.unmaintainedVersionLabel": {
"message": "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.",
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
},
"theme.docs.versions.latestVersionSuggestionLabel": {
"message": "For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).",
"description": "The label used to tell the user to check the latest version"
},
"theme.docs.versions.latestVersionLinkLabel": {
"message": "latest version",
"description": "The label used for the latest version suggestion link label"
},
"theme.common.editThisPage": {
"message": "Edit this page",
"description": "The link label to edit the current page"
},
"theme.common.headingLinkTitle": {
"message": "Direct link to heading",
"description": "Title for link to heading"
},
"theme.lastUpdated.atDate": {
"message": " on {date}",
"description": "The words used to describe on which date a page has been last updated"
},
"theme.lastUpdated.byUser": {
"message": " by {user}",
"description": "The words used to describe by who the page has been last updated"
},
"theme.lastUpdated.lastUpdatedAtBy": {
"message": "Last updated{atDate}{byUser}",
"description": "The sentence used to display when a page has been last updated, and by who"
},
"theme.navbar.mobileVersionsDropdown.label": {
"message": "Versions",
"description": "The label for the navbar versions dropdown on mobile view"
},
"theme.common.skipToMainContent": {
"message": "Skip to main content",
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
},
"theme.TOCCollapsible.toggleButtonLabel": {
"message": "On this page",
"description": "The label used by the button on the collapsible TOC component"
},
"theme.tags.tagsListLabel": {
"message": "Tags:",
"description": "The label alongside a tag list"
},
"theme.CodeBlock.copied": {
"message": "Copied",
"description": "The copied button label on code blocks"
},
"theme.CodeBlock.copyButtonAriaLabel": {
"message": "Copy code to clipboard",
"description": "The ARIA label for copy code blocks button"
},
"theme.CodeBlock.copy": {
"message": "Copy",
"description": "The copy button label on code blocks"
},
"theme.navbar.mobileLanguageDropdown.label": {
"message": "Languages",
"description": "The label for the mobile language switcher dropdown"
},
"theme.docs.sidebar.collapseButtonTitle": {
"message": "Collapse sidebar",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.docs.sidebar.collapseButtonAriaLabel": {
"message": "Collapse sidebar",
"description": "The title attribute for collapse button of doc sidebar"
},
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
"message": "← 返回主标题",
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
},
"theme.tags.tagsPageTitle": {
"message": "标签",
"description": "The title of the tag list page"
},
"Feature.furtherDevelopedByYouHeadline": {
"message": "大家参与编辑",
"description": "further developed by you"
},
"index.actionButton": {
"message": "开始阅读",
"description": "action button to start reading"
},
"theme.docs.breadcrumbs.home": {
"message": "Home page",
"description": "The ARIA label for the home page in the breadcrumbs"
},
"theme.docs.breadcrumbs.navAriaLabel": {
"message": "Breadcrumbs",
"description": "The ARIA label for the breadcrumbs"
},
"theme.CodeBlock.wordWrapToggle": {
"message": "Toggle word wrap",
"description": "The title attribute for toggle word wrapping button of code block lines"
},
"youtube.info_1": {
"message": "Load external content from YouTube?",
"description": "privacy info one"
},
"youtube.info_2": {
"message": "Privacy at YouTube",
"description": "privacy info two"
},
"youtube.play": {
"message": "play video",
"description": "play button"
},
"theme.admonition.note": {
"message": "note",
"description": "The default label used for the Note admonition (:::note)"
},
"theme.admonition.tip": {
"message": "tip",
"description": "The default label used for the Tip admonition (:::tip)"
},
"theme.admonition.danger": {
"message": "danger",
"description": "The default label used for the Danger admonition (:::danger)"
},
"theme.admonition.info": {
"message": "info",
"description": "The default label used for the Info admonition (:::info)"
},
"theme.admonition.caution": {
"message": "caution",
"description": "The default label used for the Caution admonition (:::caution)"
}
}
14 changes: 14 additions & 0 deletions i18n/zh-cn/docusaurus-plugin-content-blog/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": {
"message": "Blog",
"description": "The title for the blog used in SEO"
},
"description": {
"message": "Blog",
"description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "Recent posts",
"description": "The label for the left sidebar"
}
}
42 changes: 42 additions & 0 deletions i18n/zh-cn/docusaurus-plugin-content-docs/version-5.0.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"version.label": {
"message": "5.0.0",
"description": "The label for version current"
},
"sidebar.tutorialSidebar.category.Einführung": {
"message": "介绍",
"description": "The label for category Einführung in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Installation": {
"message": "安裝 ",
"description": "The label for the doc item helfen und community in sidebar tutorialSidebar, linking to the doc partcipants"
},
"sidebar.tutorialSidebar.category.Übersicht": {
"message": "总览",
"description": "The label for category Übersicht in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Einsteiger": {
"message": "入门",
"description": "The label for category Einsteiger in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Fortgeschrittene": {
"message": "进阶",
"description": "The label for category Fortgeschrittene in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Grundfunktionen": {
"message": "基础功能",
"description": "The label for category Grundfunktionen in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.doc.Über": {
"message": "关于",
"description": "The label for the doc item Über in sidebar tutorialSidebar, linking to the doc about"
},
"sidebar.tutorialSidebar.doc.Mitwirkende": {
"message": "贡献者",
"description": "The label for the doc item Mitwirkende in sidebar tutorialSidebar, linking to the doc partcipants"
},
"sidebar.tutorialSidebar.doc.Mithelfen und Community": {
"message": "貢獻與社區",
"description": "The label for the doc item helfen und community in sidebar tutorialSidebar, linking to the doc partcipants"
}
}
Loading

0 comments on commit 5d98674

Please sign in to comment.