summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-02-04 23:57:11 -0500
committerGitHub <noreply@github.com>2020-02-04 23:57:11 -0500
commit2b53490e9e1037771b99ef90e9879d150e14644f (patch)
treebb5d9c4c2045eed06b432ac642f3726def8b52a9 /docs
parentdd73e6dc043d8ad898a48983d06c1b74e739fc23 (diff)
docs(i18n): Add Simplified Chinese docs to the website and README.md (#906)
Diffstat (limited to 'docs')
-rw-r--r--docs/.vuepress/config.js106
1 files changed, 66 insertions, 40 deletions
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 405bae144..336683c4e 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -5,26 +5,31 @@ module.exports = {
title: "Starship",
description: "The cross-shell prompt for astronauts"
},
- "/ja-JP/": {
- lang: "ja-JP",
+ "/de-DE/": {
+ lang: "de-DE",
title: "Starship",
description: "The cross-shell prompt for astronauts"
},
- "/zh-TW/": {
- lang: "zh-TW",
+ "/ru-RU/": {
+ lang: "ru-RU",
title: "Starship",
description: "The cross-shell prompt for astronauts"
},
- "/ru-RU/": {
- lang: "ru-RU",
+ "/ja-JP/": {
+ lang: "ja-JP",
title: "Starship",
description: "The cross-shell prompt for astronauts"
},
- "/de-DE/": {
- lang: "de-DE",
+ "/zh-CN/": {
+ lang: "zh-CN",
title: "Starship",
description: "The cross-shell prompt for astronauts"
- }
+ },
+ "/zh-TW/": {
+ lang: "zh-TW",
+ title: "Starship",
+ description: "The cross-shell prompt for astronauts"
+ },
},
// prettier-ignore
head: [
@@ -71,6 +76,44 @@ module.exports = {
["/presets/", "Presets"]
]
},
+ "/de-DE/": {
+ // text for the language dropdown
+ selectText: "Sprachen",
+ // label for this locale in the language dropdown
+ label: "Deutsch",
+ // Custom text for edit link. Defaults to "Edit this page"
+ editLinkText: "Bearbeite diese Seite auf GitHub",
+ // Custom navbar values
+ nav: [{ text: "Konfiguration", link: "/config/" }],
+ // Custom sidebar values
+ sidebar: [
+ "/de-DE/",
+ ["/de-DE/guide/", "Anleitung"],
+ ["/de-DE/config/", "Konfiguration"],
+ ["/de-DE/advanced-config/", "Erweiterte Konfiguration"],
+ ["/de-DE/faq/", "Häufig gestellte Fragen"],
+ ["/de-DE/presets/", "Konfigurations-Beispiele"]
+ ]
+ },
+ "/ru-RU/": {
+ // text for the language dropdown
+ selectText: "Языки",
+ // label for this locale in the language dropdown
+ label: "Русский",
+ // Custom text for edit link. Defaults to "Edit this page"
+ editLinkText: "Редактировать эту страницу на GitHub",
+ // Custom navbar values
+ nav: [{ text: "Настройка", link: "/ru-RU/config/" }],
+ // Custom sidebar values
+ sidebar: [
+ "/ru-RU/",
+ ["/ru-RU/guide/", "Руководство"],
+ ["/ru-RU/config/", "Настройка"],
+ ["/ru-RU/advanced-config/", "Расширенная Настройка"],
+ ["/ru-RU/faq/", "Часто Задаваемые Вопросы"],
+ ["/ru-RU/presets/", "Предустановки"]
+ ]
+ },
"/ja-JP/": {
// text for the language dropdown
selectText: "言語",
@@ -85,7 +128,9 @@ module.exports = {
"/ja-JP/",
["/ja-JP/guide/", "ガイド"],
["/ja-JP/config/", "設定"],
- ["/ja-JP/advanced-config/", "高度な設定"]
+ ["/ja-JP/advanced-config/", "高度な設定"],
+ ["/ru-RU/faq/", "FAQ"],
+ ["/ru-RU/presets/", "準備するもの"]
]
},
"/zh-TW/": {
@@ -105,44 +150,25 @@ module.exports = {
["/zh-TW/advanced-config/", "進階設定"]
]
},
- "/ru-RU/": {
+ "/zh-CN/": {
// text for the language dropdown
- selectText: "Языки",
+ selectText: "语言",
// label for this locale in the language dropdown
- label: "Русский",
+ label: "简体中文",
// Custom text for edit link. Defaults to "Edit this page"
- editLinkText: "Редактировать эту страницу на GitHub",
+ editLinkText: "在 GitHub 上修改此页",
// Custom navbar values
- nav: [{ text: "Настройка", link: "/ru-RU/config/" }],
+ nav: [{ text: "配置", link: "/zh-CN/config/" }],
// Custom sidebar values
sidebar: [
- "/ru-RU/",
- ["/ru-RU/guide/", "Руководство"],
- ["/ru-RU/config/", "Настройка"],
- ["/ru-RU/advanced-config/", "Расширенная Настройка"],
- ["/ru-RU/faq/", "Часто Задаваемые Вопросы"],
- ["/ru-RU/presets/", "Предустановки"]
+ "/zh-CN/",
+ ["/zh-CN/guide/", "指南"],
+ ["/zh-CN/config/", "配置"],
+ ["/zh-CN/advanced-config/", "高级配置"],
+ ["/zh-CN/faq/", "常见问题"],
+ ["/zh-CN/presets/", "社区配置分享"]
]
},
- "/de-DE/": {
- // text for the language dropdown
- selectText: "Sprachen",
- // label for this locale in the language dropdown
- label: "Deutsch",
- // Custom text for edit link. Defaults to "Edit this page"
- editLinkText: "Bearbeite diese Seite auf GitHub",
- // Custom navbar values
- nav: [{ text: "Konfiguration", link: "/config/" }],
- // Custom sidebar values
- sidebar: [
- "/de-DE/",
- ["/de-DE/guide/", "Anleitung"],
- ["/de-DE/config/", "Konfiguration"],
- ["/de-DE/advanced-config/", "Erweiterte Konfiguration"],
- ["/de-DE/faq/", "Häufig gestellte Fragen"],
- ["/de-DE/presets/", "Konfigurations-Beispiele"]
- ]
- }
}
},
plugins: [