refactor: i18n

This commit is contained in:
Anthony Fu 2022-11-30 05:50:13 +08:00
parent 59e365591d
commit cf63bce459
11 changed files with 18 additions and 10 deletions

View file

@ -4,9 +4,10 @@ definePageMeta({
})
const paginator = useMasto().accounts.getStatusesIterable(currentUser.value!.account.id, { pinned: true })
const { t } = useI18n()
useHead({
title: 'Pinned',
title: () => t('account.pinned'),
})
</script>
@ -14,7 +15,7 @@ useHead({
<MainContent>
<template #title>
<div i-ri:pushpin-line h-6 mr-1 />
<span>Pinned</span>
<span>{{ t('account.pinned') }}</span>
</template>
<TimelinePaginator :paginator="paginator" />