diff --git a/locales/en/profile.json b/locales/en/profile.json index 5ead33d..f4a0719 100644 --- a/locales/en/profile.json +++ b/locales/en/profile.json @@ -13,7 +13,6 @@ "date": "November the 19th, 2001", "contact": "Get in touch", "belongs": "Organization", - "more": "More...", "grade": "B2", "icon_1": "Icon: ", "icon_2": "", diff --git a/locales/ja/profile.json b/locales/ja/profile.json index 9eb4097..78ddc64 100644 --- a/locales/ja/profile.json +++ b/locales/ja/profile.json @@ -13,7 +13,6 @@ "date": "2001年11月19日", "contact": "連絡先 / SNS", "belongs": "所属", - "more": "さらに見る...", "grade": "2年", "icon_1": "アイコン: ", "icon_2": "さん", diff --git a/pages/components/Footer.js b/pages/components/Footer.js index a65b9bb..ceb21bc 100644 --- a/pages/components/Footer.js +++ b/pages/components/Footer.js @@ -7,23 +7,21 @@ export default function Footer(props) { const router = useRouter() const { locale, locales, defaultLocale, pathname } = router const { t, lang } = useTranslation("common") - const footer = t('footer') - const source = t('source') - const tos = t('tos') - return ( - <> -
+ {t('footer')} / {t('source')} +
++ {t('tos')} +
{fail}
+{t('minecraft:fail')}
) }else{ const status = data.online const player = data.players && data.players.online - const playing = t('minecraft:playing', {count: player}) - const no_one = t('minecraft:no_one') - const offline = t('minecraft:offline') - const loading = t('minecraft:loading') + return ({listening}
+ return{t('listening', {listening: status})}
}else{ return } diff --git a/pages/hcunews.js b/pages/hcunews.js index 6bd87a6..565eb5a 100644 --- a/pages/hcunews.js +++ b/pages/hcunews.js @@ -11,11 +11,11 @@ export default function Tos(props) { const router = useRouter() const { locale, locales, defaultLocale, pathname } = router const { t, lang } = useTranslation("hcunews") - const hcunews = t('hcunews') + return( -{house}
+{t('house')}