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>
<template v-else-if="relationship?.requested"> <template v-else-if="relationship?.requested">
<span elk-group-hover="hidden">{{ $t('account.follow_requested') }}</span> <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>
<template v-else-if="relationship ? relationship.followedBy : context === 'followedBy'"> <template v-else-if="relationship ? relationship.followedBy : context === 'followedBy'">
<span elk-group-hover="hidden">{{ $t('account.follows_you') }}</span> <span elk-group-hover="hidden">{{ $t('account.follows_you') }}</span>

View file

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

View file

@ -41,7 +41,8 @@
"unfollow": "Unfollow", "unfollow": "Unfollow",
"unmute": "Unmute", "unmute": "Unmute",
"view_other_followers": "Followers from other instances may not be displayed.", "view_other_followers": "Followers from other instances may not be displayed.",
"view_other_following": "Following from other instances may not be displayed." "view_other_following": "Following from other instances may not be displayed.",
"withdraw_follow_request": "Withdraw follow request"
}, },
"action": { "action": {
"apply": "Apply", "apply": "Apply",
@ -246,6 +247,7 @@
"pin_on_profile": "Pin on profile", "pin_on_profile": "Pin on profile",
"remove_personal_note": "Remove personal note from {0}", "remove_personal_note": "Remove personal note from {0}",
"report_account": "Report {0}", "report_account": "Report {0}",
"share_account": "Share {0}",
"share_post": "Share this post", "share_post": "Share this post",
"show_favourited_and_boosted_by": "Show who favorited and boosted", "show_favourited_and_boosted_by": "Show who favorited and boosted",
"show_reblogs": "Show boosts from {0}", "show_reblogs": "Show boosts from {0}",

View file

@ -41,7 +41,8 @@
"unfollow": "取消关注", "unfollow": "取消关注",
"unmute": "取消屏蔽", "unmute": "取消屏蔽",
"view_other_followers": "其他站点上的关注者可能不会在这里显示。", "view_other_followers": "其他站点上的关注者可能不会在这里显示。",
"view_other_following": "其他站点上正在关注的人可能不会在这里显示。" "view_other_following": "其他站点上正在关注的人可能不会在这里显示。",
"withdraw_follow_request": "撤销关注请求"
}, },
"action": { "action": {
"apply": "应用", "apply": "应用",
@ -245,6 +246,7 @@
"pin_on_profile": "置顶在个人资料上", "pin_on_profile": "置顶在个人资料上",
"remove_personal_note": "给 {0} 移除私人备注", "remove_personal_note": "给 {0} 移除私人备注",
"report_account": "举报 {0}", "report_account": "举报 {0}",
"share_account": "分享 {0}",
"share_post": "分享这条帖文", "share_post": "分享这条帖文",
"show_favourited_and_boosted_by": "展示谁喜欢和转发了", "show_favourited_and_boosted_by": "展示谁喜欢和转发了",
"show_reblogs": "显示来自 {0} 的转发", "show_reblogs": "显示来自 {0} 的转发",