1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00:00

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()"

View file

@ -41,7 +41,8 @@
"unfollow": "Unfollow",
"unmute": "Unmute",
"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": {
"apply": "Apply",
@ -246,6 +247,7 @@
"pin_on_profile": "Pin on profile",
"remove_personal_note": "Remove personal note from {0}",
"report_account": "Report {0}",
"share_account": "Share {0}",
"share_post": "Share this post",
"show_favourited_and_boosted_by": "Show who favorited and boosted",
"show_reblogs": "Show boosts from {0}",

View file

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