forked from Mirrors/elk
fix: allow to translate "Lock" string on profile (#2571)
This commit is contained in:
parent
77b917a921
commit
2a59543836
2 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue