From 2a59543836fa4ed786f1dcd717069e596bc5c6bd Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Thu, 25 Jan 2024 00:48:24 +0900 Subject: [PATCH] fix: allow to translate "Lock" string on profile (#2571) --- components/account/AccountLockIndicator.vue | 4 +++- locales/en.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/account/AccountLockIndicator.vue b/components/account/AccountLockIndicator.vue index 7384be53..4d6cb263 100644 --- a/components/account/AccountLockIndicator.vue +++ b/components/account/AccountLockIndicator.vue @@ -2,6 +2,8 @@ defineProps<{ showLabel?: boolean }>() + +const { t } = useI18n() diff --git a/locales/en.json b/locales/en.json index f244dca5..4f08ae90 100644 --- a/locales/en.json +++ b/locales/en.json @@ -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",