summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-11-29 14:33:38 -0500
committerGitHub <noreply@github.com>2020-11-29 14:33:38 -0500
commitf9ac1eacad5d074dee68bf66cf2e9d5752cdff92 (patch)
tree607fb7c55ade35643df7b46b81e1bffecdcce011
parentea6f5e429cb83c7cf690493c9c42901ea63b5838 (diff)
docs(i18n): add French and Spanish doc translations (#1942)
-rw-r--r--README.md13
-rw-r--r--docs/.vuepress/config.js54
-rw-r--r--media/flag-es.pngbin2764 -> 1101 bytes
-rw-r--r--[-rwxr-xr-x]media/flag-fr.pngbin2399 -> 763 bytes
4 files changed, 58 insertions, 9 deletions
diff --git a/README.md b/README.md
index bab9fa54e..28a4a42c2 100644
--- a/README.md
+++ b/README.md
@@ -90,14 +90,16 @@
alt="简体中文"
/></a>
&nbsp;
- <a href="https://translate.starship.rs/project/starship-prompt/es"
+ <a
+ href="https://github.com/starship/starship/blob/master/docs/es-ES/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-es.png"
alt="Español"
/></a>
&nbsp;
- <a href="https://translate.starship.rs/project/starship-prompt/fr"
+ <a
+ href="https://github.com/starship/starship/blob/master/docs/fr-FR/guide/README.md"
><img
height="20"
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png"
@@ -114,10 +116,8 @@
align="right"
/>
-
**The minimal, blazing-fast, and infinitely customizable prompt for any shell!**
-
- **Fast:** it's fast – _really really_ fast! 🚀
- **Customizable:** configure every aspect of your prompt.
- **Universal:** works on any shell, on any operating system.
@@ -129,7 +129,6 @@
<a href="https://starship.rs/config/"><strong>Explore the Starship docs&nbsp;&nbsp;▶</strong></a>
</p>
-
<a name="🚀-installation"></a>
## 🚀 Installation
@@ -204,7 +203,7 @@
#### PowerShell
- Add the following to the end of `Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the `$PROFILE` variable in PowerShell. Typically the path is `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix.
+ Add the following to the end of `Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the `$PROFILE` variable in PowerShell. Typically the path is `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix.
```sh
Invoke-Expression (&starship init powershell)
@@ -224,6 +223,8 @@
We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
+If you are fluent in a non-English language, we greatly appreciate any help keeping our docs translated and up-to-date in other languages. If you would like to help, translations can be contributed on the [Starship Crowdin](https://translate.starship.rs/).
+
If you are interested in helping contribute to starship, please take a look at our [Contributing Guide](https://github.com/starship/starship/blob/master/CONTRIBUTING.md). Also, feel free to drop into our [Discord server](https://discord.gg/8Jzqu3T) and say hi. 👋
### Code Contributors
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 4a4f7f1ba..1f05e8f3c 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -10,20 +10,30 @@ module.exports = {
title: "Starship",
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
},
+ "/es-ES/": {
+ lang: "es-ES",
+ title: "Starship",
+ description: "¡El prompt minimalista, ultrarápido e infinitamente personalizable para cualquier intérprete de comandos!"
+ },
+ "/fr-FR/": {
+ lang: "fr-FR",
+ title: "Starship",
+ description: "L'invite minimaliste, ultra-rapide et personnalisable à l'infini pour n'importe quel shell !"
+ },
"/ru-RU/": {
lang: "ru-RU",
title: "Starship",
- description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
+ description: "Минималистичная, быстрая и бесконечно настраиваемая командная строка для любой оболочки!"
},
"/ja-JP/": {
lang: "ja-JP",
title: "Starship",
- description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
+ description: "シェル用の最小限の、非常に高速で、無限にカスタマイズ可能なプロンプトです!"
},
"/zh-CN/": {
lang: "zh-CN",
title: "Starship",
- description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
+ description: "轻量级、反应迅速,可定制的高颜值终端!"
},
"/zh-TW/": {
lang: "zh-TW",
@@ -106,6 +116,44 @@ module.exports = {
["/de-DE/presets/", "Konfigurations-Beispiele"]
]
},
+ "/es-ES/": {
+ // text for the language dropdown
+ selectText: "Idiomas",
+ // label for this locale in the language dropdown
+ label: "Español",
+ // Custom text for edit link. Defaults to "Edit this page"
+ editLinkText: "Edita esta página en GitHub",
+ // Custom navbar values
+ nav: [{ text: "Configuración", link: "/es-ES/config/" }],
+ // Custom sidebar values
+ sidebar: [
+ "/es-ES/",
+ ["/es-ES/guide/", "Guía"],
+ ["/es-ES/config/", "Configuración"],
+ ["/es-ES/advanced-config/", "Configuración Avanzada"],
+ ["/es-ES/faq/", "Preguntas frecuentes"],
+ ["/es-ES/presets/", "Ajustes predeterminados"]
+ ]
+ },
+ "/fr-FR/": {
+ // text for the language dropdown
+ selectText: "Langues",
+ // label for this locale in the language dropdown
+ label: "Français",
+ // Custom text for edit link. Defaults to "Edit this page"
+ editLinkText: "Éditez cette page sur GitHub",
+ // Custom navbar values
+ nav: [{ text: "Configuration", link: "/fr-FR/config/" }],
+ // Custom sidebar values
+ sidebar: [
+ "/fr-FR/",
+ ["/fr-FR/guide/", "Guide"],
+ ["/fr-FR/config/", "Configuration"],
+ ["/fr-FR/advanced-config/", "Configuration avancée"],
+ ["/fr-FR/faq/", "Foire aux questions"],
+ ["/fr-FR/presets/", "Paramètres par défaut"]
+ ]
+ },
"/ru-RU/": {
// text for the language dropdown
selectText: "Языки",
diff --git a/media/flag-es.png b/media/flag-es.png
index f1a8a7c5a..34e7e6fb9 100644
--- a/media/flag-es.png
+++ b/media/flag-es.png
Binary files differ
diff --git a/media/flag-fr.png b/media/flag-fr.png
index 7d7e7b3ee..6e0aad0eb 100755..100644
--- a/media/flag-fr.png
+++ b/media/flag-fr.png
Binary files differ