Fix i18n bugs
This commit is contained in:
@@ -54,7 +54,7 @@ const { data, refresh, error } = await useFetch(`/api/hunt/${id}/diashow`, {
|
||||
useHead({
|
||||
title: t('layouts.two_title', {
|
||||
title: data.value?.name || name,
|
||||
subtitle: t('pages.diashow.head')
|
||||
subtitle: t('page.diashow.head')
|
||||
})
|
||||
});
|
||||
|
||||
@@ -93,7 +93,7 @@ titleStore.title = data.value?.name;
|
||||
class="flex h-full w-full flex-col items-center justify-center text-center text-2xl"
|
||||
>
|
||||
<VaAlert color="danger" class="w-[90%]">{{
|
||||
t('pages.common.not_revealed')
|
||||
t('page.common.not_revealed')
|
||||
}}</VaAlert>
|
||||
<VaAlert v-if="error.statusCode !== 403" color="danger" class="w-[90%]">{{
|
||||
error
|
||||
@@ -101,7 +101,7 @@ titleStore.title = data.value?.name;
|
||||
><VaButton
|
||||
icon="arrow_back"
|
||||
:to="$localePath(`/hunt/${sluggy($nuxt.$slugData.huntSlug!)}`)"
|
||||
>{{ t('pages.common.back_to_hunt') }}</VaButton
|
||||
>{{ t('page.common.back_to_hunt') }}</VaButton
|
||||
>
|
||||
</div>
|
||||
<div
|
||||
@@ -109,12 +109,12 @@ titleStore.title = data.value?.name;
|
||||
class="flex h-full w-full flex-col items-center justify-center text-center text-2xl"
|
||||
>
|
||||
<VaAlert color="danger" class="w-[90%]">{{
|
||||
t('pages.common.not_revealed')
|
||||
t('page.common.not_revealed')
|
||||
}}</VaAlert
|
||||
><VaButton
|
||||
icon="arrow_back"
|
||||
:to="$localePath(`/hunt/${sluggy($nuxt.$slugData.huntSlug!)}`)"
|
||||
>{{ t('pages.common.back_to_hunt') }}</VaButton
|
||||
>{{ t('page.common.back_to_hunt') }}</VaButton
|
||||
>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user