feat(i18n): add title texts (#201)

This commit is contained in:
Ayaka Rizumu 2022-11-28 22:25:32 +08:00 committed by GitHub
parent 72abfc3ce3
commit bc44b0127d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 37 additions and 13 deletions

View file

@ -1,15 +1,17 @@
<script setup lang="ts">
const paginator = useMasto().trends.getStatuses()
const { t } = useI18n()
useHead({
title: 'Explore',
title: () => t('nav_side.explore'),
})
</script>
<template>
<MainContent>
<template #title>
<div i-ri:hashtag h-6 mr-1 /><span>Explore</span>
<div i-ri:hashtag h-6 mr-1 /><span>{{ t('nav_side.explore') }}</span>
</template>
<slot>