From 6afd9ecaf3f1a1d9bbf21c8706a758d00942eb34 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Tue, 26 Jan 2021 17:08:19 -0500 Subject: docs(i18n): add Vietnamese doc translations --- README.md | 8 ++++++++ docs/.vuepress/config.js | 24 ++++++++++++++++++++++++ media/flag-vn.png | Bin 0 -> 1111 bytes 3 files changed, 32 insertions(+) create mode 100644 media/flag-vn.png diff --git a/README.md b/README.md index 9a556d379..868beaffe 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,14 @@ src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png" alt="Français" /> +   + Tiếng Việt

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 new file mode 100644 index 000000000..43b59cd8e Binary files /dev/null and b/media/flag-vn.png differ -- cgit v1.2.3