Skip to content

Commit c587540

Browse files
authored
Add Vietnamese locale (#8107)
1 parent e0a7057 commit c587540

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

‎src/node/i18n/index.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import * as ja from "./locales/ja.json"
55
import * as th from "./locales/th.json"
66
import * as tr from "./locales/tr.json"
77
import * as ur from "./locales/ur.json"
8+
import * as vi from "./locales/vi.json"
89
import * as zhCn from "./locales/zh-cn.json"
910

1011
const defaultResources = {
@@ -26,6 +27,9 @@ const defaultResources = {
2627
ur: {
2728
translation: ur,
2829
},
30+
vi: {
31+
translation: vi,
32+
},
2933
}
3034

3135
export async function loadCustomStrings(filePath: string): Promise<void> {

‎src/node/i18n/locales/vi.json‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"LOGIN_TITLE": "Đăng nhập {{app}}",
3+
"LOGIN_BELOW": "Vui lòng đăng nhập bên dưới.",
4+
"WELCOME": "Chào mừng bạn đến với {{app}}",
5+
"LOGIN_PASSWORD": "Xem mật khẩu trong tệp cấu hình.",
6+
"LOGIN_USING_ENV_PASSWORD": "Mật khẩu đã được đặt từ $PASSWORD.",
7+
"LOGIN_USING_HASHED_PASSWORD": "Mật khẩu đã được đặt từ $HASHED_PASSWORD.",
8+
"SUBMIT": "GỬI",
9+
"PASSWORD_PLACEHOLDER": "MẬT KHẨU",
10+
"LOGIN_RATE_LIMIT": "Đã vượt quá giới hạn số lần đăng nhập!",
11+
"MISS_PASSWORD": "Thiếu mật khẩu",
12+
"INCORRECT_PASSWORD": "Mật khẩu không đúng"
13+
}

0 commit comments

Comments
 (0)