Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vietnamese language #314

Merged
merged 3 commits into from
Oct 24, 2024
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
11 changes: 11 additions & 0 deletions build/assets/_locales/vi/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"i18n": {
"message": "I18n"
},
"scriptcat": {
"message": "ScriptCat"
},
"scriptcat_description": {
"message": "Scriptcat, Một Trình Quản Lý Userscript, Hỗ Trợ Tập Lệnh Nền, Tập Lệnh Crontab Và Userscript. Nó Có Thể Viết Tập Lệnh Để Giúp Bạn Tự Động Xử Lý Mọi Thứ Hàng Ngày."
}
}
2 changes: 2 additions & 0 deletions src/locales/locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import dayjs from "dayjs";
import relativeTime from "dayjs/plugin/relativeTime";
import { Metadata } from "@App/app/repo/scripts";
import enUS from "./en/translation.json";
import viVN from "./vi/translation.json";
import zhCN from "./zh-CN/translation.json";
import zhTW from "./zh-TW/translation.json";
import achUG from "./ach-UG/translation.json";
Expand All @@ -18,6 +19,7 @@ i18n.use(initReactI18next).init({
},
resources: {
"en-US": { title: "English", translation: enUS },
"vi-VN": { title: "Tiếng Việt", translation: viVN },
"zh-CN": { title: "简体中文", translation: zhCN },
"zh-TW": { title: "繁体中文", translation: zhTW },
"ach-UG": { title: "伪语言", translation: achUG },
Expand Down
Loading