summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-01-21 15:49:49 -0500
committerGitHub <noreply@github.com>2020-01-21 15:49:49 -0500
commit88b9b0ffe282c690a2d56ce6983ba3008b6a2334 (patch)
treeeb147ab5a72735a355d2a977896bc2e82a3e42ba
parentbf4705f914e69a3a126db3714e46852385321a89 (diff)
docs(i18n): Add German docs to the website and README.md (#864)
-rw-r--r--README.md8
-rw-r--r--docs/.vuepress/config.js24
-rw-r--r--[-rwxr-xr-x]media/flag-de.pngbin2299 -> 584 bytes
3 files changed, 28 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9cd4230b2..094befe9c 100644
--- a/README.md
+++ b/README.md
@@ -54,12 +54,12 @@
><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-ru.png" alt="Русский"
/></a>
&nbsp;
- <a href="https://translate.starship.rs/project/starship-prompt/zh-CN"
- ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" alt="简体中文"
+ <a href="https://github.com/starship/starship/blob/master/docs/de-DE/guide/README.md"
+ ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png" alt="Deutsch"
/></a>
&nbsp;
- <a href="https://translate.starship.rs/project/starship-prompt/de"
- ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png" alt="Deutsch"
+ <a href="https://translate.starship.rs/project/starship-prompt/zh-CN"
+ ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" alt="简体中文"
/></a>
&nbsp;
<a href="https://translate.starship.rs/project/starship-prompt/es"
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 8ed115923..7057b98f6 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -19,6 +19,11 @@ module.exports = {
lang: "ru-RU",
title: "Starship",
description: "The cross-shell prompt for astronauts"
+ },
+ "/de-DE/": {
+ lang: "de-DE",
+ title: "Starship",
+ description: "The cross-shell prompt for astronauts"
}
},
// prettier-ignore
@@ -119,6 +124,25 @@ module.exports = {
["/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: [
+ "/",
+ ["/guide/", "Anleitung"],
+ ["/config/", "Konfiguration"],
+ ["/advanced-config/", "Erweiterte Konfiguration"],
+ ["/faq/", "Häufig gestellte Fragen"],
+ ["/presets/", "Konfigurations-Beispiele"]
+ ]
+ }
}
},
plugins: [
diff --git a/media/flag-de.png b/media/flag-de.png
index d72c98f26..aef87b752 100755..100644
--- a/media/flag-de.png
+++ b/media/flag-de.png
Binary files differ