diff options
author | Matan Kushner <hello@matchai.dev> | 2021-01-26 17:08:19 -0500 |
---|---|---|
committer | Matan Kushner <hello@matchai.dev> | 2021-01-26 17:25:25 -0500 |
commit | 6afd9ecaf3f1a1d9bbf21c8706a758d00942eb34 (patch) | |
tree | aa1c0c9b58f741793850a5612873bb6d5258b9d1 | |
parent | bea79619e06b22d9c819820d11c277cd88f0031d (diff) |
docs(i18n): add Vietnamese doc translations
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | docs/.vuepress/config.js | 24 | ||||
-rw-r--r-- | media/flag-vn.png | bin | 0 -> 1111 bytes |
3 files changed, 32 insertions, 0 deletions
@@ -105,6 +105,14 @@ 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/vi-VN/guide/README.md" + ><img + height="20" + src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png" + alt="Tiếng Việt" + /></a> </p> <h1></h1> diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 0d23a105e..3aca851ee 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -39,6 +39,11 @@ module.exports = { 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!" } }, // prettier-ignore @@ -229,6 +234,25 @@ module.exports = { ["/zh-CN/faq/", "常见问题"], ["/zh-CN/presets/", "社区配置分享"] ] + }, + "/vi-VN/": { + // text for the language dropdown + selectText: "Ngôn ngữ", + // label for this locale in the language dropdown + label: "Tiếng Việt", + // Custom text for edit link. Defaults to "Edit this page" + editLinkText: "Chỉnh sửa trang này trên GitHub", + // Custom navbar values + nav: [{ text: "Cấu hình", link: "/vi-VN/config/" }], + // Custom sidebar values + sidebar: [ + "/vi-VN/", + ["/vi-VN/guide/", "Hướng dẫn"], + ["/vi-VN/config/", "Cấu hình"], + ["/vi-VN/advanced-config/", "Cấu hình nâng cao"], + ["/vi-VN/faq/", "Các hỏi thường gặp"], + ["/vi-VN/presets/", "Mẫu thiết lập"] + ] } } }, diff --git a/media/flag-vn.png b/media/flag-vn.png Binary files differnew file mode 100644 index 000000000..43b59cd8e --- /dev/null +++ b/media/flag-vn.png |