From a5b7d7a4856785c63a13457534e8d66601f2656f Mon Sep 17 00:00:00 2001
From: Qiming
Date: Fri, 11 Oct 2019 11:51:39 +0800
Subject: [PATCH] Adjust string translation for Chinese localization (#14173)
* Adjust string translation for Chinese localization
This PR also reorders the entries in the strings table.
* Update zh.toml
---
i18n/en.toml | 257 +++++++++++++++++++++++++--------------------------
i18n/zh.toml | 200 ++++++++++++++++++++++++++-------------
2 files changed, 260 insertions(+), 197 deletions(-)
diff --git a/i18n/en.toml b/i18n/en.toml
index 2e5d6ad331..4f8ff70f24 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -1,4 +1,29 @@
# i18n strings for the English (main) site.
+# NOTE: Please keep the entries in alphabetical order when editing
+
+[caution]
+other = "Caution:"
+
+[cleanup_heading]
+other = "Cleaning up"
+
+[community_events_calendar]
+other = "Events Calendar"
+
+[community_forum_name]
+other = "Forum"
+
+[community_github_name]
+other = "GitHub"
+
+[community_slack_name]
+other = "Slack"
+
+[community_stack_overflow_name]
+other = "Stack Overflow"
+
+[community_twitter_name]
+other = "Twitter"
[deprecation_warning]
other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the "
@@ -6,56 +31,104 @@ other = " documentation is no longer actively maintained. The version you are cu
[deprecation_file_warning]
other = "Deprecated"
-[objectives_heading]
-other = "Objectives"
+[docs_label_browse]
+other = "Browse Docs"
-[cleanup_heading]
-other = "Cleaning up"
+[docs_label_contributors]
+other = "Contributors"
-[prerequisites_heading]
-other = "Before you begin"
+[docs_label_i_am]
+other = "I AM..."
-[whatsnext_heading]
-other = "What's next"
+[docs_label_users]
+other = "Users"
[feedback_heading]
other = "Feedback"
+[feedback_no]
+other = "No"
+
[feedback_question]
other = "Was this page helpful?"
[feedback_yes]
other = "Yes"
-[feedback_no]
-other = "No"
-
[latest_version]
other = "latest version."
-[version_check_mustbe]
-other = "Your Kubernetes server must be version "
+[layouts_blog_pager_prev]
+other = "<< Prev"
-[version_check_mustbeorlater]
-other = "Your Kubernetes server must be at or later than version "
+[layouts_blog_pager_next]
+other = "Next >>"
-[version_check_tocheck]
-other = "To check the version, enter "
+[layouts_case_studies_list_tell]
+other = "Tell your story"
-[caution]
-other = "Caution:"
+[layouts_docs_glossary_aka]
+other = "Also known as"
-[note]
-other = "Note:"
+[layouts_docs_glossary_description]
+other = "This glossary is intended to be a comprehensive, standardized list of Kubernetes terminology. It includes technical terms that are specific to Kubernetes, as well as more general terms that provide useful context."
-[warning]
-other = "Warning:"
+[layouts_docs_glossary_deselect_all]
+other = "Deselect all"
-[main_read_about]
-other = "Read about"
+[layouts_docs_glossary_click_details_after]
+other = "indicators below to get a longer explanation for any particular term."
-[main_read_more]
-other = "Read more"
+[layouts_docs_glossary_click_details_before]
+other = "Click on the"
+
+[layouts_docs_glossary_filter]
+other = "Filter terms according to their tags"
+
+[layouts_docs_glossary_select_all]
+other = "Select all"
+
+[layouts_docs_partials_feedback_improvement]
+other = "suggest an improvement"
+
+[layouts_docs_partials_feedback_issue]
+other = "Open an issue in the GitHub repo if you want to "
+
+[layouts_docs_partials_feedback_or]
+other = "or"
+
+[layouts_docs_partials_feedback_problem]
+other = "report a problem"
+
+[layouts_docs_partials_feedback_thanks]
+other = "Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on"
+
+[layouts_docs_search_fetching]
+other = "Fetching results..."
+
+[main_by]
+other = "by"
+
+[main_cncf_project]
+other = """We are a CNCF graduated project
"""
+
+[main_community_explore]
+other = "Explore the community"
+
+[main_contribute]
+other = "Contribute"
+
+[main_copyright_notice]
+other = """The Linux Foundation ®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page"""
+
+[main_documentation_license]
+other = """The Kubernetes Authors | Documentation Distributed under CC BY 4.0"""
+
+[main_edit_this_page]
+other = "Edit This Page"
+
+[main_github_create_an_issue]
+other = "Create an Issue"
[main_github_invite]
other = "Interested in hacking on the core Kubernetes code base?"
@@ -63,18 +136,9 @@ other = "Interested in hacking on the core Kubernetes code base?"
[main_github_view_on]
other = "View On GitHub"
-[main_github_create_an_issue]
-other = "Create an Issue"
-
-[main_community_explore]
-other = "Explore the community"
-
[main_kubernetes_features]
other = "Kubernetes Features"
-[main_cncf_project]
-other = """We are a CNCF graduated project"""
-
[main_kubeweekly_baseline]
other = "Interested in receiving the latest Kubernetes news? Sign up for KubeWeekly."
@@ -84,112 +148,41 @@ other = "View past newsletters"
[main_kubeweekly_signup]
other = "Subscribe"
-[main_contribute]
-other = "Contribute"
-
-[main_edit_this_page]
-other = "Edit This Page"
-
[main_page_history]
other ="Page History"
[main_page_last_modified_on]
other = "Page last modified on"
-[main_by]
-other = "by"
+[main_read_about]
+other = "Read about"
-[main_documentation_license]
-other = """The Kubernetes Authors | Documentation Distributed under CC BY 4.0"""
+[main_read_more]
+other = "Read more"
-[main_copyright_notice]
-other = """The Linux Foundation ®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page"""
+[note]
+other = "Note:"
-# Labels for the docs portal home page.
-[docs_label_browse]
-other = "Browse Docs"
+[objectives_heading]
+other = "Objectives"
-[docs_label_contributors]
-other = "Contributors"
+[prerequisites_heading]
+other = "Before you begin"
-[docs_label_users]
-other = "Users"
-
-[docs_label_i_am]
-other = "I AM..."
-
-# layouts > blog > pager
-
-[layouts_blog_pager_prev]
-other = "<< Prev"
-
-[layouts_blog_pager_next]
-other = "Next >>"
-
-# layouts > blog > list
-
-[layouts_case_studies_list_tell]
-other = "Tell your story"
-
-# layouts > docs > glossary
-
-[layouts_docs_glossary_description]
-other = "This glossary is intended to be a comprehensive, standardized list of Kubernetes terminology. It includes technical terms that are specific to K8s, as well as more general terms that provide useful context."
-
-[layouts_docs_glossary_filter]
-other = "Filter terms according to their tags"
-
-[layouts_docs_glossary_select_all]
-other = "Select all"
-
-[layouts_docs_glossary_deselect_all]
-other = "Deselect all"
-
-[layouts_docs_glossary_aka]
-other = "Also known as"
-
-[layouts_docs_glossary_click_details_before]
-other = "Click on the"
-
-[layouts_docs_glossary_click_details_after]
-other = "indicators below to get a longer explanation for any particular term."
-
-# layouts > docs > search
-
-[layouts_docs_search_fetching]
-other = "Fetching results.."
-
-# layouts > partial > feedback
-
-[layouts_docs_partials_feedback_thanks]
-other = "Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on"
-
-[layouts_docs_partials_feedback_issue]
-other = "Open an issue in the GitHub repo if you want to "
-
-[layouts_docs_partials_feedback_problem]
-other = "report a problem"
-
-[layouts_docs_partials_feedback_or]
-other = "or"
-
-[layouts_docs_partials_feedback_improvement]
-other = "suggest an improvement"
-
-# Community links
-[community_twitter_name]
-other = "Twitter"
-[community_github_name]
-other = "GitHub"
-[community_slack_name]
-other = "Slack"
-[community_stack_overflow_name]
-other = "Stack Overflow"
-[community_forum_name]
-other = "Forum"
-[community_events_calendar]
-other = "Events Calendar"
-
-# UI elements
[ui_search_placeholder]
other = "Search"
+
+[version_check_mustbe]
+other = "Your Kubernetes server must be version "
+
+[version_check_mustbeorlater]
+other = "Your Kubernetes server must be at or later than version "
+
+[version_check_tocheck]
+other = "To check the version, enter "
+
+[warning]
+other = "Warning:"
+
+[whatsnext_heading]
+other = "What's next"
diff --git a/i18n/zh.toml b/i18n/zh.toml
index 3f1dc6b192..80b48f117d 100644
--- a/i18n/zh.toml
+++ b/i18n/zh.toml
@@ -1,59 +1,144 @@
# i18n strings for the Chinese version of the site (https://kubernetes.io/zh/)
+# 注意:修改此文件时请维持字符串名称的字母顺序并与英文版保持一致
-[deprecation_warning]
-other = " 版本的文档已不再维护。您现在看到的版本来自于一份静态的快照。如需查阅最新文档,请点击"
-
-[objectives_heading]
-other = "教程目标"
+[caution]
+other = "警告:"
[cleanup_heading]
other = "清理现场"
-[prerequisites_heading]
-other = "准备开始"
+[community_events_calendar]
+other = "事件日历"
-[whatsnext_heading]
-other = "接下来"
+[community_forum_name]
+other = "论坛"
+
+[community_github_name]
+other = "GitHub"
+
+[community_slack_name]
+other = "Slack"
+
+[community_stack_overflow_name]
+other = "Stack Overflow"
+
+[community_twitter_name]
+other = "Twitter"
+
+[deprecation_warning]
+other = " 版本的文档已不再维护。您现在看到的版本来自于一份静态的快照。如需查阅最新文档,请点击"
+
+[deprecation_file_warning]
+other = "已过时"
+
+[docs_label_browse]
+other = "浏览文档"
+
+[docs_label_contributors]
+other = "贡献者"
+
+[docs_label_i_am]
+other = "我是..."
+
+[docs_label_users]
+other = "用户"
[feedback_heading]
other = "反馈"
+[feedback_no]
+other = "否"
+
[feedback_question]
other = "此页是否对您有帮助?"
[feedback_yes]
other = "是"
-[feedback_no]
-other = "否"
-
[latest_version]
other = "最新版本。"
-[main_read_about]
-other = "Read about"
+[layouts_blog_pager_prev]
+other = "<< 前一篇"
-[main_read_more]
-other = "了解更多"
+[layouts_blog_pager_next]
+other = "后一篇 >>"
-[main_github_invite]
-other = "想要修改 Kubernetes 的核心源代码"
+[layouts_case_studies_list_tell]
+other = "分享您的故事"
-[main_github_view_on]
-other = "在 GitHub 上查看"
+[layouts_docs_glossary_aka]
+other = "亦称作"
-[main_github_create_an_issue]
-other = "创建 GitHub issue"
+[layouts_docs_glossary_description]
+other = "此术语表旨在提供 Kubernetes 术语的完整、标准列表。其中包含特定于 Kubernetes 的技术术语以及能够构造有用的语境的一般性术语。"
+
+[layouts_docs_glossary_deselect_all]
+other = "全不选"
+
+[layouts_docs_glossary_click_details_after]
+other = "下面的指示符号获取特定术语的更为完整的描述。"
+
+[layouts_docs_glossary_click_details_before]
+other = "点击"
+
+[layouts_docs_glossary_filter]
+other = "根据标签过滤术语"
+
+[layouts_docs_glossary_select_all]
+other = "全选"
+
+[layouts_docs_partials_feedback_improvement]
+other = "提出改进建议"
+
+[layouts_docs_partials_feedback_issue]
+other = "在 GitHub 仓库上登记新的问题"
+
+[layouts_docs_partials_feedback_or]
+other = "或者"
+
+[layouts_docs_partials_feedback_problem]
+other = "报告问题"
+
+[layouts_docs_partials_feedback_thanks]
+other = "感谢反馈。如果您有一个关于如何使用 Kubernetes 的特定的、需要答案的问题,可以访问"
+
+[layouts_docs_search_fetching]
+other = "检索结果中.."
+
+[main_by]
+other = "由:"
+
+[main_cncf_project]
+other = """我们是 CNCF 毕业项目"""
[main_community_explore]
other = "了解社区"
+[main_contribute]
+other = "贡献"
+
+[main_copyright_notice]
+other = """Linux 基金会®。保留所有权利。Linux 基金会已注册并使用商标。如需了解 Linux 基金会的商标列表,请访问商标使用页面"""
+
+[main_documentation_license]
+other = """The Kubernetes 作者 | 文档发布基于 CC BY 4.0 授权许可"""
+
+[main_edit_this_page]
+other = "修改本页面"
+
+[main_github_create_an_issue]
+other = "报告 GitHub 问题"
+
+[main_github_invite]
+other = "想要修改 Kubernetes 的核心源代码?"
+
+[main_github_view_on]
+other = "在 GitHub 上查看"
+
[main_kubernetes_features]
other = "Kubernetes 特性"
-[main_cncf_project]
-other = """我们是 CNCF 毕业项目"""
-
[main_kubeweekly_baseline]
other = "想要获取最新的 Kubernetes 新闻么?请订阅 KubeWeekly。"
@@ -63,56 +148,41 @@ other = "浏览往期的周报"
[main_kubeweekly_signup]
other = "订阅"
-[main_contribute]
-other = "贡献"
-
-[main_edit_this_page]
-other = "修改本页面"
-
[main_page_history]
other ="页面历史"
[main_page_last_modified_on]
other = "页面最后一次修改于"
-[main_by]
-other = "by"
+[main_read_about]
+other = "Read about"
-[main_documentation_license]
-other = """The Kubernetes Authors | Documentation Distributed under CC BY 4.0"""
+[main_read_more]
+other = "了解更多"
-[main_copyright_notice]
-other = """The Linux Foundation ®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page"""
+[note]
+other = "注意:"
-# Labels for the docs portal home page.
-[docs_label_browse]
-other = "查阅文档"
+[objectives_heading]
+other = "教程目标"
-[docs_label_contributors]
-other = "贡献者"
+[prerequisites_heading]
+other = "准备开始"
-[docs_label_users]
-other = "用户"
-
-[docs_label_i_am]
-other = "我是..."
-
-
-
-# Community links
-[community_twitter_name]
-other = "Twitter"
-[community_github_name]
-other = "GitHub"
-[community_slack_name]
-other = "Slack"
-[community_stack_overflow_name]
-other = "Stack Overflow"
-[community_forum_name]
-other = "Forum"
-[community_events_calendar]
-other = "Events Calendar"
-
-# UI elements
[ui_search_placeholder]
other = "搜索"
+
+[version_check_mustbe]
+other = "您的 Kubernetes 服务器版本必须是 "
+
+[version_check_mustbeorlater]
+other = "您的 Kubernetes 服务器版本必须不低于版本 "
+
+[version_check_tocheck]
+other = "要获知版本信息,请输入 "
+
+[warning]
+other = "警告:"
+
+[whatsnext_heading]
+other = "接下来"