Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/node/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as ja from "./locales/ja.json"
import * as th from "./locales/th.json"
import * as tr from "./locales/tr.json"
import * as ur from "./locales/ur.json"
import * as vi from "./locales/vi.json"
import * as zhCn from "./locales/zh-cn.json"

const defaultResources = {
Expand All @@ -26,6 +27,9 @@ const defaultResources = {
ur: {
translation: ur,
},
vi: {
translation: vi,
},
}

export async function loadCustomStrings(filePath: string): Promise<void> {
Expand Down
13 changes: 13 additions & 0 deletions src/node/i18n/locales/vi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"LOGIN_TITLE": "Đăng nhập {{app}}",
"LOGIN_BELOW": "Vui lòng đăng nhập bên dưới.",
"WELCOME": "Chào mừng bạn đến với {{app}}",
"LOGIN_PASSWORD": "Xem mật khẩu trong tệp cấu hình.",
"LOGIN_USING_ENV_PASSWORD": "Mật khẩu đã được đặt từ $PASSWORD.",
"LOGIN_USING_HASHED_PASSWORD": "Mật khẩu đã được đặt từ $HASHED_PASSWORD.",
"SUBMIT": "GỬI",
"PASSWORD_PLACEHOLDER": "MẬT KHẨU",
"LOGIN_RATE_LIMIT": "Đã vượt quá giới hạn số lần đăng nhập!",
"MISS_PASSWORD": "Thiếu mật khẩu",
"INCORRECT_PASSWORD": "Mật khẩu không đúng"
}
Loading