mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-27 19:57:50 +03:00
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<{
|
defineProps<{
|
||||||
showLabel?: boolean
|
showLabel?: boolean
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
|
const { t } = useI18n()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -15,7 +17,7 @@ defineProps<{
|
||||||
<div i-ri:lock-line />
|
<div i-ri:lock-line />
|
||||||
</CommonTooltip>
|
</CommonTooltip>
|
||||||
<div v-if="showLabel">
|
<div v-if="showLabel">
|
||||||
Lock
|
{{ t('account.lock') }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
"follows_you": "Follows you",
|
"follows_you": "Follows you",
|
||||||
"go_to_profile": "Go to profile",
|
"go_to_profile": "Go to profile",
|
||||||
"joined": "Joined",
|
"joined": "Joined",
|
||||||
|
"lock": "Lock",
|
||||||
"moved_title": "has indicated that their new account is now:",
|
"moved_title": "has indicated that their new account is now:",
|
||||||
"muted_users": "Muted users",
|
"muted_users": "Muted users",
|
||||||
"muting": "Muted",
|
"muting": "Muted",
|
||||||
|
|
Loading…
Reference in a new issue