From 06d4830f8b4b19be2bc3551e3642585ab13a33a9 Mon Sep 17 00:00:00 2001 From: Xeltica Date: Sun, 19 Jun 2022 11:01:25 +0900 Subject: [PATCH] =?UTF-8?q?=E6=80=AA=E3=81=97=E3=81=84=E6=97=A5=E6=9C=AC?= =?UTF-8?q?=E8=AA=9E=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/langs/index.ts | 3 +++ src/frontend/pages/index.welcome.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/langs/index.ts b/src/frontend/langs/index.ts index 4eeda0b..514b284 100644 --- a/src/frontend/langs/index.ts +++ b/src/frontend/langs/index.ts @@ -1,6 +1,7 @@ import jaJP from './ja-JP.json'; import enUS from './en-US.json'; import koKR from './ko-KR.json'; +import jaCR from './ja-cr.json'; import deepmerge from 'deepmerge'; @@ -14,12 +15,14 @@ export const resources = { 'ja_JP': { translation: jaJP }, 'en_US': { translation: merge(jaJP, enUS) }, 'ko_KR': { translation: merge(jaJP, koKR) }, + 'ja_CR': { translation: merge(jaJP, jaCR) }, }; export const languageName = { 'ja_JP': '日本語', 'en_US': 'English', 'ko_KR': '한국어', + 'ja_CR': '怪レい日本语', } as const; export type LanguageCode = keyof typeof resources; diff --git a/src/frontend/pages/index.welcome.tsx b/src/frontend/pages/index.welcome.tsx index 1ae151c..83a09f3 100644 --- a/src/frontend/pages/index.welcome.tsx +++ b/src/frontend/pages/index.welcome.tsx @@ -88,7 +88,7 @@ export const IndexWelcomePage: React.VFC = () => { <>
-

Misskey Tools

+

{t('title')}

{t('description1')}

{t('description2')}