fix: allow to translate "Lock" string on profile (#2571)

zio/stable
TAKAHASHI Shuuji 2024-01-25 00:48:24 +09:00 committed by GitHub
parent 77b917a921
commit 2a59543836
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@
defineProps<{
showLabel?: boolean
}>()
const { t } = useI18n()
</script>
<template>
@ -15,7 +17,7 @@ defineProps<{
<div i-ri:lock-line />
</CommonTooltip>
<div v-if="showLabel">
Lock
{{ t('account.lock') }}
</div>
</div>
</template>

View File

@ -27,6 +27,7 @@
"follows_you": "Follows you",
"go_to_profile": "Go to profile",
"joined": "Joined",
"lock": "Lock",
"moved_title": "has indicated that their new account is now:",
"muted_users": "Muted users",
"muting": "Muted",