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