feat(i18n): add title texts (#201)
This commit is contained in:
parent
72abfc3ce3
commit
bc44b0127d
9 changed files with 37 additions and 13 deletions
|
@ -5,6 +5,8 @@ definePageMeta({
|
|||
middleware: 'auth',
|
||||
})
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
const tabNames = ['All', 'Mentions'] as const
|
||||
const tab = $(useLocalStorage<typeof tabNames[number]>(STORAGE_KEY_NOTIFY_TAB, 'All'))
|
||||
|
||||
|
@ -13,14 +15,14 @@ const paginator = $computed(() => {
|
|||
})
|
||||
|
||||
useHead({
|
||||
title: 'Notifications',
|
||||
title: () => t('nav_side.notifications'),
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<MainContent>
|
||||
<template #title>
|
||||
<span text-lg font-bold>Notifications</span>
|
||||
<span text-lg font-bold>{{ t('nav_side.notifications') }}</span>
|
||||
</template>
|
||||
|
||||
<template #header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue