From 0e94dab8725ea7eccf122be125b64516e6d2c22e Mon Sep 17 00:00:00 2001 From: chai2010 Date: Mon, 19 Sep 2022 12:22:54 +0800 Subject: [PATCH] zh: translate home page (#114) * translate label name * translate home page --- docusaurus.config.js | 2 +- i18n/zh-CN/code.json | 9 +++++++++ i18n/zh-CN/docusaurus-theme-classic/footer.json | 16 ++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index a8202bc6..7ae78d9b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -158,7 +158,7 @@ const config = { title: 'More', items: [ { - label: 'faq', + label: 'FAQ', to: '/docs/user_docs/support', }, { diff --git a/i18n/zh-CN/code.json b/i18n/zh-CN/code.json index aa798a1e..b6f7d3fd 100644 --- a/i18n/zh-CN/code.json +++ b/i18n/zh-CN/code.json @@ -260,5 +260,14 @@ "theme.tags.tagsPageTitle": { "message": "Tags", "description": "The title of the tag list page" + }, + "Quick Start - 15min ⏱️": { + "message": "快速开始 - 15分钟 ⏱️" + }, + "homepage.title": { + "message": "KusionStack" + }, + "homepage.tagline": { + "message": "可编程配置技术栈" } } diff --git a/i18n/zh-CN/docusaurus-theme-classic/footer.json b/i18n/zh-CN/docusaurus-theme-classic/footer.json index 54680f02..966021aa 100644 --- a/i18n/zh-CN/docusaurus-theme-classic/footer.json +++ b/i18n/zh-CN/docusaurus-theme-classic/footer.json @@ -19,6 +19,22 @@ "message": "Slack", "description": "The label of footer link with label=Slack linking to https://KusionStack.slack.com" }, + "link.item.label.Changelog": { + "message": "更新日志", + "description": "The label of footer link with label=Changelog linking to /changelog" + }, + "link.item.label.Introduction": { + "message": "简介", + "description": "The label of footer link with label=Introduction linking to https://kusionstack.io/zh-CN/docs/user_docs/intro/kusion-intro" + }, + "link.item.label.Blog": { + "message": "博客", + "description": "The label of footer link with label=Blog linking to https://kusionstack.io/zh-CN/blog" + }, + "link.item.label.FAQ": { + "message": "常见问题", + "description": "The label of footer link with label=FAQ linking to https://kusionstack.io/zh-CN/docs/user_docs/support" + }, "copyright": { "message": "版权 © 2022 KusionStack Authors", "description": "The footer copyright"