mirror of https://github.com/coder/code-server.git
Add thai language i18n (#6103)
This commit is contained in:
parent
19bcd043d7
commit
a44bd71043
|
@ -1,7 +1,7 @@
|
||||||
import i18next, { init } from "i18next"
|
import i18next, { init } from "i18next"
|
||||||
import * as en from "./locales/en.json"
|
import * as en from "./locales/en.json"
|
||||||
import * as zhCn from "./locales/zh-cn.json"
|
import * as zhCn from "./locales/zh-cn.json"
|
||||||
|
import * as th from "./locales/th.json"
|
||||||
init({
|
init({
|
||||||
lng: "en",
|
lng: "en",
|
||||||
fallbackLng: "en", // language to use if translations in user language are not available.
|
fallbackLng: "en", // language to use if translations in user language are not available.
|
||||||
|
@ -15,6 +15,9 @@ init({
|
||||||
"zh-cn": {
|
"zh-cn": {
|
||||||
translation: zhCn,
|
translation: zhCn,
|
||||||
},
|
},
|
||||||
|
th: {
|
||||||
|
translation: th,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"LOGIN_TITLE": "เข้าสู่ระบบ {{app}}",
|
||||||
|
"LOGIN_BELOW": "กรุณาเข้าสู่ระบบด้านล่าง",
|
||||||
|
"WELCOME": "ยินดีต้อนรับสู่ {{app}}",
|
||||||
|
"LOGIN_PASSWORD": "ตรวจสอบไฟล์กำหนดค่าที่ {{configFile}} เพื่อดูรหัสผ่าน",
|
||||||
|
"LOGIN_USING_ENV_PASSWORD": "รหัสผ่านถูกกำหนดเป็น $PASSWORD",
|
||||||
|
"LOGIN_USING_HASHED_PASSWORD": "รรหัสผ่านถูกกำหนดเป็น $HASHED_PASSWORD",
|
||||||
|
"SUBMIT": "ส่ง",
|
||||||
|
"PASSWORD_PLACEHOLDER": "รหัสผ่าน",
|
||||||
|
"LOGIN_RATE_LIMIT": "ถึงขีดจำกัดอัตราการเข้าสู่ระบบ!",
|
||||||
|
"MISS_PASSWORD": "รหัสผ่านหายไป",
|
||||||
|
"INCORRECT_PASSWORD": "รหัสผ่านไม่ถูกต้อง"
|
||||||
|
}
|
Loading…
Reference in New Issue