0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-06-09 23:36:01 +09:00

Revert "Delete unused translations"

This reverts commit 3b3fc8533f.
This commit is contained in:
yude 2021-02-08 16:53:00 +09:00
parent 3b3fc8533f
commit 78008e91b0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,5 @@
{
"welcome": "This page is under development.",
"instead_1": "For now, please visit ",
"instead_2": "."
}

View File

@ -15,6 +15,10 @@ export default function Index(props) {
const router = useRouter()
const { locale, locales, defaultLocale, pathname } = router
const { t, lang } = useTranslation("index")
// Define translation objects
const welcome = t('welcome')
const instead_1 = t('instead_1')
const instead_2 = t('instead_2')
return (