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

This commit is contained in:
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>