From 31a967965bcdb91176d389f65d065e9adc1d463c Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Tue, 24 Jan 2023 08:37:12 +1300 Subject: [PATCH] Add Japanese Localization --- frontend/public/locales/common/en-US.json | 1 + frontend/public/locales/common/en.json | 1 + frontend/src/features/system/components/LanguagePicker.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/frontend/public/locales/common/en-US.json b/frontend/public/locales/common/en-US.json index b67799e789..64fbef7c02 100644 --- a/frontend/public/locales/common/en-US.json +++ b/frontend/public/locales/common/en-US.json @@ -19,6 +19,7 @@ "langPolish": "Polish", "langSimplifiedChinese": "Simplified Chinese", "langSpanish": "Spanish", + "langJapanese": "Japanese", "text2img": "Text To Image", "img2img": "Image To Image", "unifiedCanvas": "Unified Canvas", diff --git a/frontend/public/locales/common/en.json b/frontend/public/locales/common/en.json index b67799e789..64fbef7c02 100644 --- a/frontend/public/locales/common/en.json +++ b/frontend/public/locales/common/en.json @@ -19,6 +19,7 @@ "langPolish": "Polish", "langSimplifiedChinese": "Simplified Chinese", "langSpanish": "Spanish", + "langJapanese": "Japanese", "text2img": "Text To Image", "img2img": "Image To Image", "unifiedCanvas": "Unified Canvas", diff --git a/frontend/src/features/system/components/LanguagePicker.tsx b/frontend/src/features/system/components/LanguagePicker.tsx index 29c6f9071a..23d102a236 100644 --- a/frontend/src/features/system/components/LanguagePicker.tsx +++ b/frontend/src/features/system/components/LanguagePicker.tsx @@ -20,6 +20,7 @@ export default function LanguagePicker() { pl: t('common:langPolish'), zh_cn: t('common:langSimplifiedChinese'), es: t('common:langSpanish'), + ja: t('common:langJapanese'), }; const renderLanguagePicker = () => {