fix(i18n): add missing translation (#2340)

This commit is contained in:
Sma11X 2023-08-24 19:09:54 +08:00 committed by GitHub
parent e4725d433e
commit 1ac3164d0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -91,7 +91,7 @@ const buttonStyle = $computed(() => {
</template>
<template v-else-if="relationship?.requested">
<span elk-group-hover="hidden">{{ $t('account.follow_requested') }}</span>
<span hidden elk-group-hover="inline">Withdraw follow request</span>
<span hidden elk-group-hover="inline">{{ $t('account.withdraw_follow_request') }}</span>
</template>
<template v-else-if="relationship ? relationship.followedBy : context === 'followedBy'">
<span elk-group-hover="hidden">{{ $t('account.follows_you') }}</span>

View file

@ -68,7 +68,7 @@ async function removeUserNote() {
</NuxtLink>
<CommonDropdownItem
v-if="isShareSupported"
:text="`Share @${account.acct}`"
:text="$t('menu.share_account', [`@${account.acct}`])"
icon="i-ri:share-line"
:command="command"
@click="shareAccount()"