diff options
author | Matan Kushner <hello@matchai.dev> | 2020-01-21 15:49:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-21 15:49:49 -0500 |
commit | 88b9b0ffe282c690a2d56ce6983ba3008b6a2334 (patch) | |
tree | eb147ab5a72735a355d2a977896bc2e82a3e42ba | |
parent | bf4705f914e69a3a126db3714e46852385321a89 (diff) |
docs(i18n): Add German docs to the website and README.md (#864)
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | docs/.vuepress/config.js | 24 | ||||
-rw-r--r--[-rwxr-xr-x] | media/flag-de.png | bin | 2299 -> 584 bytes |
3 files changed, 28 insertions, 4 deletions
@@ -54,12 +54,12 @@ ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-ru.png" alt="Русский" /></a> - <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> - <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> <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 Binary files differindex d72c98f26..aef87b752 100755..100644 --- a/media/flag-de.png +++ b/media/flag-de.png |