diff --git a/i18n/en.toml b/i18n/en.toml index da41e45517707..af47e8cb97126 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,5 +1,35 @@ # i18n strings for the English (main) site. +[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 " + +[objectives_heading] +other = "Objectives" + +[cleanup_heading] +other = "Cleaning up" + +[prerequisites_heading] +other = "Before you begin" + +[whatsnext_heading] +other = "What's next" + +[feedback_heading] +other = "Feedback" + +[feedback_question] +other = "Was this page helpful?" + +[feedback_yes] +other = "Yes" + +[feedback_no] +other = "No" + +[latest_version] +other = "latest version." + [main_read_about] other = "Read about" diff --git a/i18n/zh.toml b/i18n/zh.toml index 079e7dc2f6660..a804279504a0c 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -1,5 +1,35 @@ # i18n strings for the Chinese version of the site (https://kubernetes.io/zh/) +[deprecation_warning] +other = " 版本的文档已不再维护。您现在看到的版本来自于一份静态的快照。如需查阅最新文档,请点击" + +[objectives_heading] +other = "教程目标" + +[cleanup_heading] +other = "清理现场" + +[prerequisites_heading] +other = "准备开始" + +[whatsnext_heading] +other = "接下来" + +[feedback_heading] +other = "反馈" + +[feedback_question] +other = "此页是否对您有帮助?" + +[feedback_yes] +other = "是" + +[feedback_no] +other = "否" + +[latest_version] +other = "最新版本。" + [main_read_about] other = "Read about" diff --git a/layouts/partials/deprecation-warning.html b/layouts/partials/deprecation-warning.html index 5cacae611b20b..5481ca3805bf5 100644 --- a/layouts/partials/deprecation-warning.html +++ b/layouts/partials/deprecation-warning.html @@ -3,8 +3,9 @@

- Documentation for Kubernetes {{ .Param "version" }} is no longer actively maintained. The version you are currently viewing is a static snapshot. - For up-to-date documentation, see the latest version. + Kubernetes {{ .Param "version" }} + {{ T "deprecation_warning" }} + {{ T "latest_version" }}

diff --git a/layouts/partials/feedback.html b/layouts/partials/feedback.html index 2b8a59d6fd0ee..027e8f7f0f4a6 100644 --- a/layouts/partials/feedback.html +++ b/layouts/partials/feedback.html @@ -1,8 +1,8 @@ {{ if not .Params.hide_feedback }} -

Feedback

-

Was this page helpful?

- - +

{{ T "feedback_heading" }}

+

{{ T "feedback_question" }}

+ +

Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on