0
0
Fork 0

怪しい日本語を追加

This commit is contained in:
Xeltica 2022-06-19 11:01:25 +09:00
parent 16f8a4e489
commit 06d4830f8b
2 changed files with 4 additions and 1 deletions

View file

@ -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;

View file

@ -88,7 +88,7 @@ export const IndexWelcomePage: React.VFC = () => {
<>
<Hero className="fluid shadow-2" isMobile={isMobile}>
<div className="hero">
<h1 className="shadow-t">Misskey Tools</h1>
<h1 className="shadow-t">{t('title')}</h1>
<p className="shadow-t">{t('description1')}</p>
<p className="shadow-t">{t('description2')}</p>
<FormWrapper className="bg-panel pa-2 mt-4 rounded shadow-2">