Refactor locale
This commit is contained in:
@@ -1,21 +1,15 @@
|
|||||||
{
|
{
|
||||||
"nav": {
|
"common": {
|
||||||
"abyss-lab": "Abyss Lab",
|
"abyss-lab": "Abyss Lab",
|
||||||
"honkai-3rd": "Honkai 3rd",
|
"honkai-3rd": "Honkai 3rd",
|
||||||
"versions": "Versions",
|
"versions": "Versions",
|
||||||
"battlesuits": "Battlesuits",
|
"battlesuits": "Battlesuits",
|
||||||
"weapons": "Weapons",
|
"weapons": "Weapons",
|
||||||
"stigmata": "Stigmata",
|
"stigmata": "Stigmata",
|
||||||
"elfs": "ELFs"
|
|
||||||
},
|
|
||||||
"breadcrumb": {
|
|
||||||
"honkai-3rd": "Honkai 3rd",
|
|
||||||
"battlesuits": "Battlesuits",
|
|
||||||
"stigmata": "Stigmata",
|
|
||||||
"weapons": "Weapons",
|
|
||||||
"elfs": "ELFs",
|
"elfs": "ELFs",
|
||||||
"versions": "Versions"
|
"elysian-realm": "Elysian Realm (WIP)"
|
||||||
},
|
},
|
||||||
|
"nav": {},
|
||||||
"index": {
|
"index": {
|
||||||
"honkai-3rd": "Honkai 3rd",
|
"honkai-3rd": "Honkai 3rd",
|
||||||
"battlesuits": "Battlesuits",
|
"battlesuits": "Battlesuits",
|
||||||
@@ -127,5 +121,14 @@
|
|||||||
"label": "Divine Key Supply",
|
"label": "Divine Key Supply",
|
||||||
"description": "Only available in special supply events like Firepower Supply and Schicksal Arsenal. Pull with 280 x crystal for each supply."
|
"description": "Only available in special supply events like Firepower Supply and Schicksal Arsenal. Pull with 280 x crystal for each supply."
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"elysian-realm": {
|
||||||
|
"signets": "Signets",
|
||||||
|
"remembrance-sigil": "Remembrance Sigil",
|
||||||
|
"supports": "Supports",
|
||||||
|
"no-upgrades": "No Upgrades Available",
|
||||||
|
"nexus-signets": "Nexus Signets",
|
||||||
|
"normal-signets": "Normal Signets",
|
||||||
|
"exclusive-signets": "Exclusive Signets"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,25 +1,14 @@
|
|||||||
{
|
{
|
||||||
"nav": {
|
"common": {
|
||||||
|
"elysian-realm": "과거의 낙원 (작업중)",
|
||||||
|
"battlesuits": "발키리",
|
||||||
"abyss-lab": "어비스랩",
|
"abyss-lab": "어비스랩",
|
||||||
"honkai-3rd": "붕괴 3rd",
|
"honkai-3rd": "붕괴 3rd",
|
||||||
"versions": "업데이트",
|
"versions": "업데이트",
|
||||||
"battlesuits": "발키리",
|
|
||||||
"weapons": "무기",
|
"weapons": "무기",
|
||||||
"stigmata": "성흔",
|
"stigmata": "성흔",
|
||||||
"elfs": "인형"
|
"elfs": "인형"
|
||||||
},
|
},
|
||||||
"breadcrumb": {
|
|
||||||
"honkai-3rd": "붕괴 3rd",
|
|
||||||
"battlesuits": "발키리",
|
|
||||||
"stigmata": "성흔",
|
|
||||||
"top": "(상)",
|
|
||||||
"mid": "(중)",
|
|
||||||
"bot": "(하)",
|
|
||||||
"weapons": "무기",
|
|
||||||
"elfs": "인형",
|
|
||||||
"versions": "업데이트",
|
|
||||||
"description": "비공식 붕괴 3rd 위키"
|
|
||||||
},
|
|
||||||
"battlesuits-list": {
|
"battlesuits-list": {
|
||||||
"heading": "발키리",
|
"heading": "발키리",
|
||||||
"description": "붕괴 3rd 발키리 목록",
|
"description": "붕괴 3rd 발키리 목록",
|
||||||
@@ -126,5 +115,14 @@
|
|||||||
"label": "신의 열쇠 보급",
|
"label": "신의 열쇠 보급",
|
||||||
"description": "천명 무기고나 화력 보급등 특수 보급 이벤트에서만 획득 가능. 보급마다 280 x 수정을 소모."
|
"description": "천명 무기고나 화력 보급등 특수 보급 이벤트에서만 획득 가능. 보급마다 280 x 수정을 소모."
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"elysian-realm": {
|
||||||
|
"signets": "각인",
|
||||||
|
"remembrance-sigil": "회상의 증명",
|
||||||
|
"supports": "지원 발키리",
|
||||||
|
"no-upgrades": "레벨업 불가능",
|
||||||
|
"nexus-signets": "증폭 각인",
|
||||||
|
"normal-signets": "일반 각인",
|
||||||
|
"exclusive-signets": "전용 각인"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,9 +11,15 @@ interface BattlesuitCardProps {
|
|||||||
battlesuit: Pick<BattlesuitData, 'id' | 'name' | 'krName'>
|
battlesuit: Pick<BattlesuitData, 'id' | 'name' | 'krName'>
|
||||||
hidden?: boolean
|
hidden?: boolean
|
||||||
size?: 'sm' | 'default'
|
size?: 'sm' | 'default'
|
||||||
|
href?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const BattlesuitCard = ({ battlesuit, hidden, size }: BattlesuitCardProps) => {
|
const BattlesuitCard = ({
|
||||||
|
battlesuit,
|
||||||
|
hidden,
|
||||||
|
size,
|
||||||
|
href,
|
||||||
|
}: BattlesuitCardProps) => {
|
||||||
const { locale } = useRouter()
|
const { locale } = useRouter()
|
||||||
|
|
||||||
const battlesuitName = translate(
|
const battlesuitName = translate(
|
||||||
@@ -22,6 +28,10 @@ const BattlesuitCard = ({ battlesuit, hidden, size }: BattlesuitCardProps) => {
|
|||||||
battlesuit.name
|
battlesuit.name
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (href == null) {
|
||||||
|
href = `/honkai3rd/battlesuits/${battlesuit.id}`
|
||||||
|
}
|
||||||
|
|
||||||
if (size === 'sm') {
|
if (size === 'sm') {
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
@@ -35,7 +45,7 @@ const BattlesuitCard = ({ battlesuit, hidden, size }: BattlesuitCardProps) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<PageLink href={`/honkai3rd/battlesuits/${battlesuit.id}`}>
|
<PageLink href={href}>
|
||||||
<Flex>
|
<Flex>
|
||||||
<SquareImageBox
|
<SquareImageBox
|
||||||
mr={2}
|
mr={2}
|
||||||
@@ -72,10 +82,7 @@ const BattlesuitCard = ({ battlesuit, hidden, size }: BattlesuitCardProps) => {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<PageLink
|
<PageLink href={href}>
|
||||||
href={`/honkai3rd/battlesuits/${battlesuit.id}`}
|
|
||||||
key={battlesuit.id}
|
|
||||||
>
|
|
||||||
<SquareImageBox
|
<SquareImageBox
|
||||||
alt={battlesuitName}
|
alt={battlesuitName}
|
||||||
src={`${assetsBucketBaseUrl}/honkai3rd/battlesuits/portrait-${battlesuit.id}.png`}
|
src={`${assetsBucketBaseUrl}/honkai3rd/battlesuits/portrait-${battlesuit.id}.png`}
|
||||||
|
|||||||
@@ -50,12 +50,10 @@ const SingleStigmataPage = ({
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${stigmataName} - ${t(
|
title={`${t('common.honkai-3rd')}: ${stigmataName} - ${t(
|
||||||
'nav.abyss-lab'
|
'common.abyss-lab'
|
||||||
)}`}
|
)}`}
|
||||||
description={`${t('breadcrumb.honkai-3rd')} ${t(
|
description={`${t('common.honkai-3rd')} ${t('stigmata-show.stigmata')} /
|
||||||
'stigmata-show.stigmata'
|
|
||||||
)} /
|
|
||||||
${'⭐'.repeat(stigmataData.rarity)} / ${t(
|
${'⭐'.repeat(stigmataData.rarity)} / ${t(
|
||||||
`stigmata-show.${stigmataData.type}`
|
`stigmata-show.${stigmataData.type}`
|
||||||
)} / HP : ${stigmataData.hp} / ATK : ${stigmataData.atk} / DEF : ${
|
)} / HP : ${stigmataData.hp} / ATK : ${stigmataData.atk} / DEF : ${
|
||||||
@@ -65,8 +63,8 @@ const SingleStigmataPage = ({
|
|||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/stigmata', label: t('breadcrumb.stigmata') },
|
{ href: '/honkai3rd/stigmata', label: t('common.stigmata') },
|
||||||
{
|
{
|
||||||
href: `/honkai3rd/stigmata/${stigmataData.id}`,
|
href: `/honkai3rd/stigmata/${stigmataData.id}`,
|
||||||
label: stigmataName,
|
label: stigmataName,
|
||||||
|
|||||||
@@ -38,10 +38,10 @@ const StigmataSetPage = ({
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${stigmataSetName} ${t(
|
title={`${t('common.honkai-3rd')}: ${stigmataSetName} ${t(
|
||||||
'stigmata-show.stigmata-set'
|
'stigmata-show.stigmata-set'
|
||||||
)} - ${t('nav.abyss-lab')}`}
|
)} - ${t('common.abyss-lab')}`}
|
||||||
description={`${t('breadcrumb.honkai-3rd')} ${t(
|
description={`${t('common.honkai-3rd')} ${t(
|
||||||
'stigmata-show.stigmata-set'
|
'stigmata-show.stigmata-set'
|
||||||
)} / ${'⭐'.repeat(stigmataSet.rarity)} / ${stigmataSetAltName}`}
|
)} / ${'⭐'.repeat(stigmataSet.rarity)} / ${stigmataSetAltName}`}
|
||||||
/>
|
/>
|
||||||
@@ -49,13 +49,13 @@ const StigmataSetPage = ({
|
|||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{
|
{
|
||||||
href: {
|
href: {
|
||||||
pathname: `/honkai3rd/stigmata`,
|
pathname: `/honkai3rd/stigmata`,
|
||||||
query: { list: 'set' },
|
query: { list: 'set' },
|
||||||
},
|
},
|
||||||
label: t('breadcrumb.stigmata'),
|
label: t('common.stigmata'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: `/honkai3rd/stigmata/${stigmataSet.id}-set`,
|
href: `/honkai3rd/stigmata/${stigmataSet.id}-set`,
|
||||||
|
|||||||
@@ -85,10 +85,10 @@ const BattlesuitShowPage = ({
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${battlesuitName} - ${t(
|
title={`${t('common.honkai-3rd')}: ${battlesuitName} - ${t(
|
||||||
'nav.abyss-lab'
|
'common.abyss-lab'
|
||||||
)}`}
|
)}`}
|
||||||
description={`${t('breadcrumb.honkai-3rd')} ${t(
|
description={`${t('common.honkai-3rd')} ${t(
|
||||||
'battlesuit-show.battlesuit'
|
'battlesuit-show.battlesuit'
|
||||||
)} / ${valkyrieName} / ${battlesuitTypeLabel} / ${battlesuit.features
|
)} / ${valkyrieName} / ${battlesuitTypeLabel} / ${battlesuit.features
|
||||||
.map((feature) => {
|
.map((feature) => {
|
||||||
@@ -109,10 +109,10 @@ const BattlesuitShowPage = ({
|
|||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{
|
{
|
||||||
href: '/honkai3rd/battlesuits',
|
href: '/honkai3rd/battlesuits',
|
||||||
label: t('breadcrumb.battlesuits'),
|
label: t('common.battlesuits'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: `/honkai3rd/battlesuits/${battlesuit.id}`,
|
href: `/honkai3rd/battlesuits/${battlesuit.id}`,
|
||||||
|
|||||||
@@ -79,19 +79,19 @@ const BattlesuitListPage = ({ battlesuits }: BattlesuitListPageProps) => {
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${t(
|
title={`${t('common.honkai-3rd')}: ${t('common.battlesuits')} - ${t(
|
||||||
'breadcrumb.battlesuits'
|
'common.abyss-lab'
|
||||||
)} - ${t('nav.abyss-lab')}`}
|
)}`}
|
||||||
description={t('battlesuits-list.description')}
|
description={t('battlesuits-list.description')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{
|
{
|
||||||
href: '/honkai3rd/battlesuits',
|
href: '/honkai3rd/battlesuits',
|
||||||
label: t('breadcrumb.battlesuits'),
|
label: t('common.battlesuits'),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -35,10 +35,10 @@ const ElfShowPage = ({ elf }: ElfShowPageProps) => {
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${elfName} - ${t(
|
title={`${t('common.honkai-3rd')}: ${elfName} - ${t(
|
||||||
'nav.abyss-lab'
|
'common.abyss-lab'
|
||||||
)}`}
|
)}`}
|
||||||
description={`${t('breadcrumb.honkai-3rd')} ${t(
|
description={`${t('common.honkai-3rd')} ${t(
|
||||||
'elfs-show.elf'
|
'elfs-show.elf'
|
||||||
)} / ${'⭐'.repeat(elf.baseRank)} / ${elf.features
|
)} / ${'⭐'.repeat(elf.baseRank)} / ${elf.features
|
||||||
.map((feature) => {
|
.map((feature) => {
|
||||||
@@ -59,8 +59,8 @@ const ElfShowPage = ({ elf }: ElfShowPageProps) => {
|
|||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/elfs', label: t('breadcrumb.elfs') },
|
{ href: '/honkai3rd/elfs', label: t('common.elfs') },
|
||||||
{
|
{
|
||||||
href: `/honkai3rd/elfs/${elf.id}`,
|
href: `/honkai3rd/elfs/${elf.id}`,
|
||||||
label: elfName,
|
label: elfName,
|
||||||
|
|||||||
@@ -21,16 +21,16 @@ const ElfListPage = ({ elfs }: ElfListPageProps) => {
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${t('breadcrumb.elfs')} - ${t(
|
title={`${t('common.honkai-3rd')}: ${t('common.elfs')} - ${t(
|
||||||
'nav.abyss-lab'
|
'common.abyss-lab'
|
||||||
)}`}
|
)}`}
|
||||||
description={t('elfs-list.description')}
|
description={t('elfs-list.description')}
|
||||||
/>
|
/>
|
||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/elfs', label: t('breadcrumb.elfs') },
|
{ href: '/honkai3rd/elfs', label: t('common.elfs') },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@@ -112,13 +112,13 @@ const Honkai3rdIndexPage = () => {
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: Home - ${t('nav.abyss-lab')}`}
|
title={`${t('common.honkai-3rd')}: Home - ${t('common.abyss-lab')}`}
|
||||||
description={t('index.description')}
|
description={t('index.description')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[{ href: 'honkai3rd', label: t('breadcrumb.honkai-3rd') }]}
|
items={[{ href: 'honkai3rd', label: t('common.honkai-3rd') }]}
|
||||||
/>
|
/>
|
||||||
<Heading as='h1'>Enemies </Heading>
|
<Heading as='h1'>Enemies </Heading>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -46,15 +46,15 @@ const Honkai3rdIndexPage = () => {
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: Home - ${t('nav.abyss-lab')}`}
|
title={`${t('common.honkai-3rd')}: Home - ${t('common.abyss-lab')}`}
|
||||||
description={t('index.description')}
|
description={t('index.description')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[{ href: 'honkai3rd', label: t('breadcrumb.honkai-3rd') }]}
|
items={[{ href: 'honkai3rd', label: t('common.honkai-3rd') }]}
|
||||||
/>
|
/>
|
||||||
<Heading as='h1'>{t('nav.honkai-3rd')} </Heading>
|
<Heading as='h1'>{t('common.honkai-3rd')} </Heading>
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
sx={{ position: 'relative', mb: 3, width: 280, height: 280 }}
|
sx={{ position: 'relative', mb: 3, width: 280, height: 280 }}
|
||||||
@@ -75,6 +75,7 @@ const Honkai3rdIndexPage = () => {
|
|||||||
<NavItem target='weapons' />
|
<NavItem target='weapons' />
|
||||||
<NavItem target='stigmata' />
|
<NavItem target='stigmata' />
|
||||||
<NavItem target='elfs' />
|
<NavItem target='elfs' />
|
||||||
|
<NavItem target='elysian-realm' />
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box>
|
<Box>
|
||||||
@@ -106,7 +107,13 @@ export async function getStaticProps({ locale }: NextPageContext) {
|
|||||||
export default Honkai3rdIndexPage
|
export default Honkai3rdIndexPage
|
||||||
|
|
||||||
interface NavItemProps {
|
interface NavItemProps {
|
||||||
target: 'versions' | 'battlesuits' | 'stigmata' | 'weapons' | 'elfs'
|
target:
|
||||||
|
| 'versions'
|
||||||
|
| 'battlesuits'
|
||||||
|
| 'stigmata'
|
||||||
|
| 'weapons'
|
||||||
|
| 'elfs'
|
||||||
|
| 'elysian-realm'
|
||||||
}
|
}
|
||||||
|
|
||||||
const NavItem = ({ target }: NavItemProps) => {
|
const NavItem = ({ target }: NavItemProps) => {
|
||||||
@@ -121,7 +128,7 @@ const NavItem = ({ target }: NavItemProps) => {
|
|||||||
mr={1}
|
mr={1}
|
||||||
src={`${assetsBucketBaseUrl}/honkai3rd/nav-icons/${target}.png`}
|
src={`${assetsBucketBaseUrl}/honkai3rd/nav-icons/${target}.png`}
|
||||||
/>
|
/>
|
||||||
<Text sx={{ fontSize: 3 }}>{t(`nav.${target}`)}</Text>
|
<Text sx={{ fontSize: 3 }}>{t(`common.${target}`)}</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Box>
|
</Box>
|
||||||
</PageLink>
|
</PageLink>
|
||||||
|
|||||||
@@ -40,17 +40,17 @@ const StigmataListPage = ({
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${t(
|
title={`${t('common.honkai-3rd')}: ${t('common.stigmata')} - ${t(
|
||||||
'breadcrumb.stigmata'
|
'common.abyss-lab'
|
||||||
)} - ${t('nav.abyss-lab')}`}
|
)}`}
|
||||||
description={t('stigmata-list.description')}
|
description={t('stigmata-list.description')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/stigmata', label: t('breadcrumb.stigmata') },
|
{ href: '/honkai3rd/stigmata', label: t('common.stigmata') },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@@ -46,12 +46,12 @@ const VersionShowPage = ({
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: v${versionData.version} - ${t(
|
title={`${t('common.honkai-3rd')}: v${versionData.version} - ${t(
|
||||||
'nav.abyss-lab'
|
'common.abyss-lab'
|
||||||
)}`}
|
)}`}
|
||||||
description={`${t('breadcrumb.honkai-3rd')} ${t(
|
description={`${t('common.honkai-3rd')} ${t('versions.version')} / ${t(
|
||||||
'versions.version'
|
'versions.new-battlesuits'
|
||||||
)} / ${t('versions.new-battlesuits')}: ${battlesuits
|
)}: ${battlesuits
|
||||||
.map((battlesuit) => {
|
.map((battlesuit) => {
|
||||||
return translate(
|
return translate(
|
||||||
locale,
|
locale,
|
||||||
@@ -69,8 +69,8 @@ const VersionShowPage = ({
|
|||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/versions', label: t('breadcrumb.versions') },
|
{ href: '/honkai3rd/versions', label: t('common.versions') },
|
||||||
{
|
{
|
||||||
href: `/honkai3rd/versions/${versionData.version}`,
|
href: `/honkai3rd/versions/${versionData.version}`,
|
||||||
label: versionData.version,
|
label: versionData.version,
|
||||||
|
|||||||
@@ -48,17 +48,17 @@ const VersionIndexPage = ({
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${t(
|
title={`${t('common.honkai-3rd')}: ${t('common.versions')} - ${t(
|
||||||
'breadcrumb.versions'
|
'common.abyss-lab'
|
||||||
)} - ${t('nav.abyss-lab')}`}
|
)}`}
|
||||||
description={t('versions.list-page-description')}
|
description={t('versions.list-page-description')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/versions', label: t('breadcrumb.versions') },
|
{ href: '/honkai3rd/versions', label: t('common.versions') },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<Box mb={4}>
|
<Box mb={4}>
|
||||||
|
|||||||
@@ -42,10 +42,10 @@ const WeaponShowPage = ({
|
|||||||
return (
|
return (
|
||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${weaponName} - ${t(
|
title={`${t('common.honkai-3rd')}: ${weaponName} - ${t(
|
||||||
'nav.abyss-lab'
|
'common.abyss-lab'
|
||||||
)}`}
|
)}`}
|
||||||
description={`${t('breadcrumb.honkai-3rd')} ${t(
|
description={`${t('common.honkai-3rd')} ${t(
|
||||||
'weapons-show.weapon'
|
'weapons-show.weapon'
|
||||||
)} / ${'⭐'.repeat(weapon.rarity)} / ${weaponCategory} / ATK : ${
|
)} / ${'⭐'.repeat(weapon.rarity)} / ${weaponCategory} / ATK : ${
|
||||||
weapon.atk
|
weapon.atk
|
||||||
@@ -55,8 +55,8 @@ const WeaponShowPage = ({
|
|||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/weapons', label: t('breadcrumb.weapons') },
|
{ href: '/honkai3rd/weapons', label: t('common.weapons') },
|
||||||
{
|
{
|
||||||
href: `/honkai3rd/weapons/${weapon.id}`,
|
href: `/honkai3rd/weapons/${weapon.id}`,
|
||||||
label: weaponName,
|
label: weaponName,
|
||||||
|
|||||||
@@ -60,17 +60,17 @@ const WeaponListPage = ({ weaponDataList }: WeaponListPageProps) => {
|
|||||||
<Honkai3rdLayout>
|
<Honkai3rdLayout>
|
||||||
<Box>
|
<Box>
|
||||||
<Head
|
<Head
|
||||||
title={`${t('breadcrumb.honkai-3rd')}: ${t(
|
title={`${t('common.honkai-3rd')}: ${t('common.weapons')} - ${t(
|
||||||
'breadcrumb.weapons'
|
'common.abyss-lab'
|
||||||
)} - ${t('nav.abyss-lab')}`}
|
)}`}
|
||||||
description={t('weapons-list.description')}
|
description={t('weapons-list.description')}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Box p={3}>
|
<Box p={3}>
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
items={[
|
items={[
|
||||||
{ href: '/honkai3rd', label: t('breadcrumb.honkai-3rd') },
|
{ href: '/honkai3rd', label: t('common.honkai-3rd') },
|
||||||
{ href: '/honkai3rd/weapons', label: t('breadcrumb.weapons') },
|
{ href: '/honkai3rd/weapons', label: t('common.weapons') },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user