From 4b2f8125bb130d70dc0e42799f53d4e662d7488a Mon Sep 17 00:00:00 2001 From: "[yzeng25]" <[yzeng25@wisc.edu]> Date: Wed, 29 Nov 2023 19:53:44 +0800 Subject: [PATCH 1/3] fix: update v2.7 cn sidebar --- i18n/zh/docusaurus-plugin-content-docs/version-2.7.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json index be3c0a57b11..0e8a20ddd22 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json @@ -15,9 +15,9 @@ "message": "部署 Rancher", "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.Deploy Rancher Workloads": { + "sidebar.tutorialSidebar.category.Deploy Workloads": { "message": "部署 Rancher 工作负载", - "description": "The label for category Deploy Rancher Workloads in sidebar tutorialSidebar" + "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": { "message": "安装和升级", From e4b5db6fe4ae16d56550604af8a1944e15fe2f46 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 29 Nov 2023 13:29:35 -0800 Subject: [PATCH 2/3] Apply 4b2f8125 (sidebar label update) to other versions. Originally changed in #926 --- i18n/zh/docusaurus-plugin-content-docs/current.json | 4 ++-- i18n/zh/docusaurus-plugin-content-docs/version-2.0-2.4.json | 6 +++--- i18n/zh/docusaurus-plugin-content-docs/version-2.5.json | 6 +++--- i18n/zh/docusaurus-plugin-content-docs/version-2.6.json | 4 ++-- versioned_sidebars/version-2.0-2.4-sidebars.json | 2 +- versioned_sidebars/version-2.5-sidebars.json | 2 +- versioned_sidebars/version-2.6-sidebars.json | 2 +- versioned_sidebars/version-2.8-sidebars.json | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current.json b/i18n/zh/docusaurus-plugin-content-docs/current.json index eda6706d575..4995d0e0fec 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current.json +++ b/i18n/zh/docusaurus-plugin-content-docs/current.json @@ -15,9 +15,9 @@ "message": "部署 Rancher", "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.Deploy Rancher Workloads": { + "sidebar.tutorialSidebar.category.Deploy Workloads": { "message": "部署 Rancher 工作负载", - "description": "The label for category Deploy Rancher Workloads in sidebar tutorialSidebar" + "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": { "message": "安装和升级", diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.0-2.4.json b/i18n/zh/docusaurus-plugin-content-docs/version-2.0-2.4.json index bb5510705eb..d43eacb7979 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.0-2.4.json +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.0-2.4.json @@ -19,9 +19,9 @@ "message": "Deploy Rancher", "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.Deploy Rancher Workloads": { - "message": "Deploy Rancher Workloads", - "description": "The label for category Deploy Rancher Workloads in sidebar tutorialSidebar" + "sidebar.tutorialSidebar.category.Deploy Workloads": { + "message": "Deploy Workloads", + "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": { "message": "Installation and Upgrade", diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.json b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.json index e5408e6ab91..403c10a755e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.5.json +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.5.json @@ -19,9 +19,9 @@ "message": "Deploy Rancher", "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.Deploy Rancher Workloads": { - "message": "Deploy Rancher Workloads", - "description": "The label for category Deploy Rancher Workloads in sidebar tutorialSidebar" + "sidebar.tutorialSidebar.category.Deploy Workloads": { + "message": "Deploy Workloads", + "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": { "message": "Installation and Upgrade", diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json index 9ca3c829229..7d78c7898f4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json @@ -15,9 +15,9 @@ "message": "部署 Rancher", "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, - "sidebar.tutorialSidebar.category.Deploy Rancher Workloads": { + "sidebar.tutorialSidebar.category.Deploy Workloads": { "message": "部署 Rancher 工作负载", - "description": "The label for category Deploy Rancher Workloads in sidebar tutorialSidebar" + "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": { "message": "安装和升级", diff --git a/versioned_sidebars/version-2.0-2.4-sidebars.json b/versioned_sidebars/version-2.0-2.4-sidebars.json index e4cd68fb815..b9f17a2a94d 100644 --- a/versioned_sidebars/version-2.0-2.4-sidebars.json +++ b/versioned_sidebars/version-2.0-2.4-sidebars.json @@ -48,7 +48,7 @@ }, { "type": "category", - "label": "Deploy Rancher Workloads", + "label": "Deploy Workloads", "link": { "type": "doc", "id": "pages-for-subheaders/deploy-rancher-workloads" diff --git a/versioned_sidebars/version-2.5-sidebars.json b/versioned_sidebars/version-2.5-sidebars.json index 4579266caa8..e4ac306ebff 100644 --- a/versioned_sidebars/version-2.5-sidebars.json +++ b/versioned_sidebars/version-2.5-sidebars.json @@ -47,7 +47,7 @@ }, { "type": "category", - "label": "Deploy Rancher Workloads", + "label": "Deploy Workloads", "link": { "type": "doc", "id": "pages-for-subheaders/deploy-rancher-workloads" diff --git a/versioned_sidebars/version-2.6-sidebars.json b/versioned_sidebars/version-2.6-sidebars.json index 366b1dc5f29..e813a1ac727 100644 --- a/versioned_sidebars/version-2.6-sidebars.json +++ b/versioned_sidebars/version-2.6-sidebars.json @@ -36,7 +36,7 @@ }, { "type": "category", - "label": "Deploy Rancher Workloads", + "label": "Deploy Workloads", "link": { "type": "doc", "id": "pages-for-subheaders/deploy-rancher-workloads" diff --git a/versioned_sidebars/version-2.8-sidebars.json b/versioned_sidebars/version-2.8-sidebars.json index d29e846ed9a..c7543393984 100644 --- a/versioned_sidebars/version-2.8-sidebars.json +++ b/versioned_sidebars/version-2.8-sidebars.json @@ -37,7 +37,7 @@ "getting-started/quick-start-guides/deploy-rancher-manager/prime", { "type": "category", - "label": "Deploy Rancher Workloads", + "label": "Deploy Workloads", "link": { "type": "doc", "id": "pages-for-subheaders/deploy-rancher-workloads" From 5ae50afe6821317a7bdea66a36e7e55abae2db72 Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Wed, 29 Nov 2023 13:35:19 -0800 Subject: [PATCH 3/3] Remove term from translated sidebar label to match English label --- i18n/zh/docusaurus-plugin-content-docs/current.json | 2 +- i18n/zh/docusaurus-plugin-content-docs/version-2.6.json | 2 +- i18n/zh/docusaurus-plugin-content-docs/version-2.7.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current.json b/i18n/zh/docusaurus-plugin-content-docs/current.json index 4995d0e0fec..dbdfd9aa227 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current.json +++ b/i18n/zh/docusaurus-plugin-content-docs/current.json @@ -16,7 +16,7 @@ "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Deploy Workloads": { - "message": "部署 Rancher 工作负载", + "message": "部署工作负载", "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": { diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json index 7d78c7898f4..9fc315cd1c8 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.json @@ -16,7 +16,7 @@ "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Deploy Workloads": { - "message": "部署 Rancher 工作负载", + "message": "部署工作负载", "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": { diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json index 0e8a20ddd22..0a8cf301cf7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.7.json @@ -16,7 +16,7 @@ "description": "The label for category Deploy Rancher in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Deploy Workloads": { - "message": "部署 Rancher 工作负载", + "message": "部署工作负载", "description": "The label for category Deploy Workloads in sidebar tutorialSidebar" }, "sidebar.tutorialSidebar.category.Installation and Upgrade": {