Add Japanese locale (#6433)

This commit is contained in:
Kaoru Yamamoto 2023-09-19 02:23:03 +09:00 committed by GitHub
parent d80568df20
commit 95bcf101d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -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,
},
}, },
}) })

View File

@ -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": "パスワードが間違っています。"
}