Skip to content

Commit 95bcf10

Browse files
Add Japanese locale (#6433)
1 parent d80568d commit 95bcf10

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/node/i18n/index.ts

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import i18next, { init } from "i18next"
22
import * as en from "./locales/en.json"
33
import * as th from "./locales/th.json"
44
import * as zhCn from "./locales/zh-cn.json"
5+
import * as ja from "./locales/ja.json"
56
init({
67
lng: "en",
78
fallbackLng: "en", // language to use if translations in user language are not available.
@@ -18,6 +19,9 @@ init({
1819
th: {
1920
translation: th,
2021
},
22+
ja: {
23+
translation: ja,
24+
},
2125
},
2226
})
2327

src/node/i18n/locales/ja.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"LOGIN_TITLE": "{{app}} ログイン",
3+
"LOGIN_BELOW": "以下によりログインしてください。",
4+
"WELCOME": "ようこそ {{app}} へ!",
5+
"LOGIN_PASSWORD": "パスワードは設定ファイル( {{configFile}} )を確認してください。",
6+
"LOGIN_USING_ENV_PASSWORD": "パスワードは環境変数 $PASSWORD で設定されています。",
7+
"LOGIN_USING_HASHED_PASSWORD": "パスワードは環境変数 $HASHED_PASSWORD で設定されています。",
8+
"SUBMIT": "実行",
9+
"PASSWORD_PLACEHOLDER": "パスワード",
10+
"LOGIN_RATE_LIMIT": "ログイン制限を超えました!",
11+
"MISS_PASSWORD": "パスワードを入力してください。",
12+
"INCORRECT_PASSWORD": "パスワードが間違っています。"
13+
}

0 commit comments

Comments
 (0)