mirror of https://github.com/coder/code-server.git
Add Japanese locale (#6433)
This commit is contained in:
parent
d80568df20
commit
95bcf101d7
|
@ -2,6 +2,7 @@ import i18next, { init } from "i18next"
|
||||||
import * as en from "./locales/en.json"
|
import * as en from "./locales/en.json"
|
||||||
import * as th from "./locales/th.json"
|
import * as th from "./locales/th.json"
|
||||||
import * as zhCn from "./locales/zh-cn.json"
|
import * as zhCn from "./locales/zh-cn.json"
|
||||||
|
import * as ja from "./locales/ja.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.
|
||||||
|
@ -18,6 +19,9 @@ init({
|
||||||
th: {
|
th: {
|
||||||
translation: th,
|
translation: th,
|
||||||
},
|
},
|
||||||
|
ja: {
|
||||||
|
translation: ja,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -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