diff options
author | Matan Kushner <hello@matchai.dev> | 2021-08-26 16:44:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-26 16:44:58 -0400 |
commit | ce168e3241a6ed20065808eb955b2882d92dacc1 (patch) | |
tree | ae0e377b2b3b7d2da02c1ba56736fde65f6bde5b | |
parent | 747ff95a85c037b304b67c81b27adf22ecc5a101 (diff) |
docs: add Brazilian Portuguese translations to the docs and website (#3009)
-rw-r--r-- | README.md | 58 | ||||
-rw-r--r-- | docs/.vuepress/config.js | 122 | ||||
-rw-r--r-- | media/flag-br.png | bin | 0 -> 746 bytes | |||
-rw-r--r--[-rwxr-xr-x] | media/flag-cn.png | bin | 990 -> 309 bytes | |||
-rw-r--r-- | media/flag-de.png | bin | 584 -> 174 bytes | |||
-rw-r--r-- | media/flag-es.png | bin | 1101 -> 697 bytes | |||
-rw-r--r-- | media/flag-fr.png | bin | 763 -> 186 bytes | |||
-rw-r--r--[-rwxr-xr-x] | media/flag-jp.png | bin | 1145 -> 270 bytes | |||
-rw-r--r-- | media/flag-ru.png | bin | 741 -> 188 bytes | |||
-rw-r--r--[-rwxr-xr-x] | media/flag-tw.png | bin | 1090 -> 366 bytes | |||
-rw-r--r--[-rwxr-xr-x] | media/flag-us.png | bin | 935 -> 302 bytes | |||
-rw-r--r-- | media/flag-vn.png | bin | 1111 -> 332 bytes |
12 files changed, 106 insertions, 74 deletions
@@ -51,67 +51,75 @@ /></a> <a - href="https://github.com/starship/starship/blob/master/docs/ja-JP/guide/README.md" + 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-jp.png" - alt="日本語" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png" + alt="Deutsch" /></a> <a - href="https://github.com/starship/starship/blob/master/docs/zh-TW/guide/README.md" + 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-tw.png" - alt="繁體中文" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-es.png" + alt="Español" /></a> <a - href="https://github.com/starship/starship/blob/master/docs/ru-RU/guide/README.md" + 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-ru.png" - alt="Русский" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png" + alt="Français" /></a> <a - href="https://github.com/starship/starship/blob/master/docs/de-DE/guide/README.md" + href="https://github.com/starship/starship/blob/master/docs/ja-JP/guide/README.md" ><img height="20" - src="https://raw.githubusercontent.com/starship/starship/master/media/flag-de.png" - alt="Deutsch" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-jp.png" + alt="日本語" /></a> <a - href="https://github.com/starship/starship/blob/master/docs/zh-CN/guide/README.md" + href="https://github.com/starship/starship/blob/master/docs/pt-BR/guide/README.md" ><img height="20" - src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" - alt="简体中文" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-br.png" + alt="Português do Brasil" /></a> <a - href="https://github.com/starship/starship/blob/master/docs/es-ES/guide/README.md" + href="https://github.com/starship/starship/blob/master/docs/ru-RU/guide/README.md" ><img height="20" - src="https://raw.githubusercontent.com/starship/starship/master/media/flag-es.png" - alt="Español" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-ru.png" + alt="Русский" /></a> <a - href="https://github.com/starship/starship/blob/master/docs/fr-FR/guide/README.md" + href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md" ><img height="20" - src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png" - alt="Français" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png" + alt="Tiếng Việt" /></a> <a - href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md" + href="https://github.com/starship/starship/blob/master/docs/zh-CN/guide/README.md" ><img height="20" - src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png" - alt="Tiếng Việt" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" + alt="简体中文" + /></a> + + <a + href="https://github.com/starship/starship/blob/master/docs/zh-TW/guide/README.md" + ><img + height="20" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-tw.png" + alt="繁體中文" /></a> </p> @@ -159,8 +167,8 @@ shown below. Can't see yours? Have a look at the [extra platform instructions](h ```sh sh -c "$(curl -fsSL https://starship.rs/install.sh)" ``` - To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration. + To update the Starship itself, rerun the above script. It will replace the current version without touching Starship's configuration. **Note** - The defaults of the install script can be overridden see the built-in help. diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 679e4bb93..a86134d04 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -8,7 +8,7 @@ module.exports = { "/de-DE/": { lang: "de-DE", title: "Starship", - description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" + description: "Minimale, super schnelle und unendlich anpassbare Prompt für jede Shell!" }, "/es-ES/": { lang: "es-ES", @@ -20,15 +20,25 @@ module.exports = { title: "Starship", description: "L'invite minimaliste, ultra-rapide et personnalisable à l'infini pour n'importe quel shell !" }, + "/ja-JP/": { + lang: "ja-JP", + title: "Starship", + description: "シェル用の最小限の、非常に高速で、無限にカスタマイズ可能なプロンプトです!" + }, + "/pt-BR/": { + lang: "pt-BR", + title: "Starship", + description: "O prompt minimalista, extremamente rápido e infinitamente personalizável para qualquer shell!" + }, "/ru-RU/": { lang: "ru-RU", title: "Starship", description: "Минималистичная, быстрая и бесконечно настраиваемая командная строка для любой оболочки!" }, - "/ja-JP/": { - lang: "ja-JP", + "/vi-VN/": { + lang: "vi-VN", title: "Starship", - description: "シェル用の最小限の、非常に高速で、無限にカスタマイズ可能なプロンプトです!" + description: "Nhỏ gọn, cực nhanh, và khả năng tuỳ chỉnh vô hạn prompt cho bất kì shell nào!" }, "/zh-CN/": { lang: "zh-CN", @@ -38,12 +48,7 @@ module.exports = { "/zh-TW/": { lang: "zh-TW", title: "Starship", - description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!" - }, - "/vi-VN/": { - lang: "vi-VN", - title: "Starship", - description: "Nhỏ gọn, cực nhanh, và khả năng tuỳ chỉnh vô hạn prompt cho bất kì shell nào!" + description: "適合任何 shell 的最小、極速、無限客製化的提示字元!" } }, // prettier-ignore @@ -155,25 +160,6 @@ module.exports = { ["/fr-FR/presets/", "Paramètres par défaut"] ] }, - "/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: "言語", @@ -194,40 +180,42 @@ module.exports = { ["/ja-JP/migrating-to-0.45.0/", "v0.45への移行"] ] }, - "/zh-TW/": { + "/pt-BR/": { // text for the language dropdown - selectText: "語言", + selectText: "Languages", // label for this locale in the language dropdown - label: "繁體中文", + label: "Português do Brasil", // Custom text for edit link. Defaults to "Edit this page" - editLinkText: "在 GitHub 上修改此頁面", + editLinkText: "Edite esta página no Github", // Custom navbar values - nav: [{ text: "設定", link: "/zh-TW/config/" }], + nav: [{ text: "Configuração", link: "/pt-BR/config/" }], // Custom sidebar values sidebar: [ - "/zh-TW/", - ["/zh-TW/guide/", "指引"], - ["/zh-TW/config/", "設定"], - ["/zh-TW/advanced-config/", "進階設定"] + "/pt-BR/", + ["/pt-BR/guide/", "Guia"], + ["/pt-BR/config/", "Configuração"], + ["/pt-BR/advanced-config/", "Configuração avançada"], + ["/pt-BR/faq/", "Perguntas frequentes"], + ["/pt-BR/presets/", "Predefinições"] ] }, - "/zh-CN/": { + "/ru-RU/": { // 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: "/zh-CN/config/" }], + nav: [{ text: "Настройка", link: "/ru-RU/config/" }], // Custom sidebar values sidebar: [ - "/zh-CN/", - ["/zh-CN/guide/", "指南"], - ["/zh-CN/config/", "配置"], - ["/zh-CN/advanced-config/", "高级配置"], - ["/zh-CN/faq/", "常见问题"], - ["/zh-CN/presets/", "社区配置分享"] + "/ru-RU/", + ["/ru-RU/guide/", "Руководство"], + ["/ru-RU/config/", "Настройка"], + ["/ru-RU/advanced-config/", "Расширенная Настройка"], + ["/ru-RU/faq/", "Часто Задаваемые Вопросы"], + ["/ru-RU/presets/", "Предустановки"] ] }, "/vi-VN/": { @@ -249,6 +237,42 @@ module.exports = { ["/vi-VN/presets/", "Mẫu thiết lập"] ] } + }, + "/zh-TW/": { + // 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: "/zh-TW/config/" }], + // Custom sidebar values + sidebar: [ + "/zh-TW/", + ["/zh-TW/guide/", "指引"], + ["/zh-TW/config/", "設定"], + ["/zh-TW/advanced-config/", "進階設定"] + ] + }, + "/zh-CN/": { + // 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: "/zh-CN/config/" }], + // Custom sidebar values + sidebar: [ + "/zh-CN/", + ["/zh-CN/guide/", "指南"], + ["/zh-CN/config/", "配置"], + ["/zh-CN/advanced-config/", "高级配置"], + ["/zh-CN/faq/", "常见问题"], + ["/zh-CN/presets/", "社区配置分享"] + ] } }, plugins: [ diff --git a/media/flag-br.png b/media/flag-br.png Binary files differnew file mode 100644 index 000000000..3f78e4912 --- /dev/null +++ b/media/flag-br.png diff --git a/media/flag-cn.png b/media/flag-cn.png Binary files differindex a6792e617..e418eb9c4 100755..100644 --- a/media/flag-cn.png +++ b/media/flag-cn.png diff --git a/media/flag-de.png b/media/flag-de.png Binary files differindex aef87b752..700c55e10 100644 --- a/media/flag-de.png +++ b/media/flag-de.png diff --git a/media/flag-es.png b/media/flag-es.png Binary files differindex 34e7e6fb9..3801457da 100644 --- a/media/flag-es.png +++ b/media/flag-es.png diff --git a/media/flag-fr.png b/media/flag-fr.png Binary files differindex 6e0aad0eb..e072ea464 100644 --- a/media/flag-fr.png +++ b/media/flag-fr.png diff --git a/media/flag-jp.png b/media/flag-jp.png Binary files differindex 15232bcd7..540ecbd3d 100755..100644 --- a/media/flag-jp.png +++ b/media/flag-jp.png diff --git a/media/flag-ru.png b/media/flag-ru.png Binary files differindex cbddb9e80..b4aed6861 100644 --- a/media/flag-ru.png +++ b/media/flag-ru.png diff --git a/media/flag-tw.png b/media/flag-tw.png Binary files differindex 60ce0c1cd..95a0dfcb0 100755..100644 --- a/media/flag-tw.png +++ b/media/flag-tw.png diff --git a/media/flag-us.png b/media/flag-us.png Binary files differindex 60ae8be14..112fc16ca 100755..100644 --- a/media/flag-us.png +++ b/media/flag-us.png diff --git a/media/flag-vn.png b/media/flag-vn.png Binary files differindex 43b59cd8e..9925ed510 100644 --- a/media/flag-vn.png +++ b/media/flag-vn.png |