怪しい日本語を追加
This commit is contained in:
parent
16f8a4e489
commit
06d4830f8b
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import jaJP from './ja-JP.json';
|
import jaJP from './ja-JP.json';
|
||||||
import enUS from './en-US.json';
|
import enUS from './en-US.json';
|
||||||
import koKR from './ko-KR.json';
|
import koKR from './ko-KR.json';
|
||||||
|
import jaCR from './ja-cr.json';
|
||||||
|
|
||||||
import deepmerge from 'deepmerge';
|
import deepmerge from 'deepmerge';
|
||||||
|
|
||||||
|
@ -14,12 +15,14 @@ export const resources = {
|
||||||
'ja_JP': { translation: jaJP },
|
'ja_JP': { translation: jaJP },
|
||||||
'en_US': { translation: merge(jaJP, enUS) },
|
'en_US': { translation: merge(jaJP, enUS) },
|
||||||
'ko_KR': { translation: merge(jaJP, koKR) },
|
'ko_KR': { translation: merge(jaJP, koKR) },
|
||||||
|
'ja_CR': { translation: merge(jaJP, jaCR) },
|
||||||
};
|
};
|
||||||
|
|
||||||
export const languageName = {
|
export const languageName = {
|
||||||
'ja_JP': '日本語',
|
'ja_JP': '日本語',
|
||||||
'en_US': 'English',
|
'en_US': 'English',
|
||||||
'ko_KR': '한국어',
|
'ko_KR': '한국어',
|
||||||
|
'ja_CR': '怪レい日本语',
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
export type LanguageCode = keyof typeof resources;
|
export type LanguageCode = keyof typeof resources;
|
||||||
|
|
|
@ -88,7 +88,7 @@ export const IndexWelcomePage: React.VFC = () => {
|
||||||
<>
|
<>
|
||||||
<Hero className="fluid shadow-2" isMobile={isMobile}>
|
<Hero className="fluid shadow-2" isMobile={isMobile}>
|
||||||
<div className="hero">
|
<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('description1')}</p>
|
||||||
<p className="shadow-t">{t('description2')}</p>
|
<p className="shadow-t">{t('description2')}</p>
|
||||||
<FormWrapper className="bg-panel pa-2 mt-4 rounded shadow-2">
|
<FormWrapper className="bg-panel pa-2 mt-4 rounded shadow-2">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue