Skip to content

Commit 6afd9ec

Browse files
committed
docs(i18n): add Vietnamese doc translations
1 parent bea7961 commit 6afd9ec

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@
105105
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png"
106106
alt="Français"
107107
/></a>
108+
&nbsp;
109+
<a
110+
href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
111+
><img
112+
height="20"
113+
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png"
114+
alt="Tiếng Việt"
115+
/></a>
108116
</p>
109117

110118
<h1></h1>

docs/.vuepress/config.js

+24
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ module.exports = {
3939
lang: "zh-TW",
4040
title: "Starship",
4141
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
42+
},
43+
"/vi-VN/": {
44+
lang: "vi-VN",
45+
title: "Starship",
46+
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!"
4247
}
4348
},
4449
// prettier-ignore
@@ -229,6 +234,25 @@ module.exports = {
229234
["/zh-CN/faq/", "常见问题"],
230235
["/zh-CN/presets/", "社区配置分享"]
231236
]
237+
},
238+
"/vi-VN/": {
239+
// text for the language dropdown
240+
selectText: "Ngôn ngữ",
241+
// label for this locale in the language dropdown
242+
label: "Tiếng Việt",
243+
// Custom text for edit link. Defaults to "Edit this page"
244+
editLinkText: "Chỉnh sửa trang này trên GitHub",
245+
// Custom navbar values
246+
nav: [{ text: "Cấu hình", link: "/vi-VN/config/" }],
247+
// Custom sidebar values
248+
sidebar: [
249+
"/vi-VN/",
250+
["/vi-VN/guide/", "Hướng dẫn"],
251+
["/vi-VN/config/", "Cấu hình"],
252+
["/vi-VN/advanced-config/", "Cấu hình nâng cao"],
253+
["/vi-VN/faq/", "Các hỏi thường gặp"],
254+
["/vi-VN/presets/", "Mẫu thiết lập"]
255+
]
232256
}
233257
}
234258
},

media/flag-vn.png

1.08 KB
Loading

0 commit comments

Comments
 (0)