i18n: translate titles

This commit is contained in:
三咲智子 2023-01-04 22:04:37 +08:00
parent 377c015c91
commit 482e8c1c3a
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
5 changed files with 19 additions and 8 deletions

View file

@ -3,15 +3,17 @@ definePageMeta({
middleware: 'auth',
})
const { t } = useI18n()
useHeadFixed({
title: 'Blocked users',
title: () => t('nav.blocked_users'),
})
</script>
<template>
<MainContent back>
<template #title>
<span text-lg font-bold>{{ $t('account.blocked_users') }}</span>
<span text-lg font-bold>{{ $t('nav.blocked_users') }}</span>
</template>
<TimelineBlocks v-if="isMastoInitialised" />