From d71788058aab67d26ed554e24b66d2e58cb85e4b Mon Sep 17 00:00:00 2001 From: xin gu <418294249@qq.com> Date: Mon, 29 Apr 2024 14:45:23 +0800 Subject: [PATCH] sync localization install-kubeadm pod-failure-policy Update localization.md --- content/zh-cn/docs/contribute/localization.md | 6 +++--- .../production-environment/tools/kubeadm/install-kubeadm.md | 2 +- content/zh-cn/docs/tasks/job/pod-failure-policy.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/zh-cn/docs/contribute/localization.md b/content/zh-cn/docs/contribute/localization.md index e630d6cfcb..ebdebb92ca 100644 --- a/content/zh-cn/docs/contribute/localization.md +++ b/content/zh-cn/docs/contribute/localization.md @@ -621,15 +621,15 @@ Releases | [All heading and subheading URLs](/releases) Translated documents must reside in their own `content/**/` subdirectory, but otherwise, follow the same URL path as the English source. For example, to prepare the [Kubernetes Basics](/docs/tutorials/kubernetes-basics/) tutorial for translation into German, -create a subfolder under the `content/de/` folder and copy the English source: +create a subdirectory under the `content/de/` directory and copy the English source or directory: --> 翻译后的文档必须保存在自己的 `content/**/` 子目录中,否则将遵循与英文源相同的 URL 路径。 例如,要准备将 [Kubernetes 基础](/zh-cn/docs/tutorials/kubernetes-basics/)教程翻译为德语, -请在 `content/de/` 文件夹下创建一个子文件夹并复制英文源: +请在 `content/de/` 目录下创建一个子目录,并复制英文源文件或目录: ```shell mkdir -p content/de/docs/tutorials -cp content/en/docs/tutorials/kubernetes-basics.md content/de/docs/tutorials/kubernetes-basics.md +cp -ra content/en/docs/tutorials/kubernetes-basics/ content/de/docs/tutorials/ ``` -{{< feature-state for_k8s_version="v1.26" state="beta" >}} +{{< feature-state feature_gate_name="JobPodFailurePolicy" >}}