i18n: translate titles
This commit is contained in:
parent
377c015c91
commit
482e8c1c3a
|
@ -144,6 +144,8 @@
|
|||
"unpin_on_profile": "Unpin on profile"
|
||||
},
|
||||
"nav": {
|
||||
"blocked_domains": "Blocked domains",
|
||||
"blocked_users": "Blocked users",
|
||||
"bookmarks": "Bookmarks",
|
||||
"built_at": "Built {0}",
|
||||
"conversations": "Conversations",
|
||||
|
@ -152,6 +154,7 @@
|
|||
"federated": "Federated",
|
||||
"home": "Home",
|
||||
"local": "Local",
|
||||
"muted_users": "Muted users",
|
||||
"notifications": "Notifications",
|
||||
"profile": "Profile",
|
||||
"search": "Search",
|
||||
|
|
|
@ -135,6 +135,8 @@
|
|||
"unpin_on_profile": "取消置顶"
|
||||
},
|
||||
"nav": {
|
||||
"blocked_domains": "已拉黑的域名",
|
||||
"blocked_users": "已拉黑的用户",
|
||||
"bookmarks": "书签",
|
||||
"built_at": "于 {0}构建",
|
||||
"conversations": "私信",
|
||||
|
@ -143,6 +145,7 @@
|
|||
"federated": "跨站",
|
||||
"home": "主页",
|
||||
"local": "本地",
|
||||
"muted_users": "已屏蔽的用户",
|
||||
"notifications": "通知",
|
||||
"profile": "个人资料",
|
||||
"search": "搜索",
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
<script setup lang="ts">
|
||||
import TimelineDomainBlocks from '~~/components/timeline/TimelineDomainBlocks.vue'
|
||||
|
||||
definePageMeta({
|
||||
middleware: 'auth',
|
||||
})
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
useHeadFixed({
|
||||
title: 'Blocked domains',
|
||||
title: () => t('nav.blocked_domains'),
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<MainContent back>
|
||||
<template #title>
|
||||
<span text-lg font-bold>{{ $t('account.blocked_domains') }}</span>
|
||||
<span text-lg font-bold>{{ $t('nav.blocked_domains') }}</span>
|
||||
</template>
|
||||
|
||||
<TimelineDomainBlocks v-if="isMastoInitialised" />
|
||||
|
|
|
@ -2,15 +2,18 @@
|
|||
definePageMeta({
|
||||
middleware: 'auth',
|
||||
})
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
useHeadFixed({
|
||||
title: 'Muted users',
|
||||
title: () => t('nav.muted_users'),
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<MainContent back>
|
||||
<template #title>
|
||||
<span text-lg font-bold>{{ $t('account.muted_users') }}</span>
|
||||
<span text-lg font-bold>{{ $t('nav.muted_users') }}</span>
|
||||
</template>
|
||||
|
||||
<TimelineMutes v-if="isMastoInitialised" />
|
||||
|
|
Loading…
Reference in a new issue