docs(i18n): Add German docs to the website and README.md (#864)

This commit is contained in:
Matan Kushner 2020-01-21 15:49:49 -05:00 committed by GitHub
parent bf4705f914
commit 88b9b0ffe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 4 deletions

View File

@ -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"

View File

@ -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: [

BIN
media/flag-de.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 584 B