Fix all locales

This commit is contained in:
Sakura Knoll
2023-07-15 13:52:33 +09:00 Unverified
parent 5cb208b9a0
commit 730dcfac22
26 changed files with 340 additions and 281 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ const StigmataListPage = ({ stigmataCatalog }: StigmataListPageProps) => {
{ href: '/honkai3rd/stigmata', label: t('common.stigmata') }
]}
/>
<Heading as="h1">Stigmata (Single)</Heading>
<Heading as="h1">{t('stigmata-list.stigmata-single')}</Heading>
<Box mb={3}>
<PageLink href="/honkai3rd/stigmata-sets">{t('stigmata-list.show-set-list')}</PageLink>
@@ -70,7 +70,7 @@ const StigmataListPage = ({ stigmataCatalog }: StigmataListPageProps) => {
export default StigmataListPage
export async function getStaticProps({ locale }: NextPageContext) {
const stigmataCatalog = loadStigmataCatalog()
const stigmataCatalog = loadStigmataCatalog(locale)
return {
props: { stigmataCatalog, ...(await getI18NProps(locale)) }