chore: use consistent wordings for visibility and private mention (#3470)

This commit is contained in:
TAKAHASHI Shuuji 2025-12-23 12:47:39 +09:00 committed by GitHub
parent ccfc0ec1c8
commit 6a400f205e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -90,10 +90,10 @@ async function removeUserNote() {
/>
<CommonDropdownItem
is="button"
:text="$t('menu.direct_message_account', [`@${account.acct}`])"
:text="$t('menu.private_mention_account', [`@${account.acct}`])"
icon="i-ri:message-3-line"
:command="command"
@click="directMessageUser(account)"
@click="privateMentionUser(account)"
/>
<CommonDropdownItem

View file

@ -175,7 +175,7 @@ export function mentionUser(account: mastodon.v1.Account) {
}))
}
export function directMessageUser(account: mastodon.v1.Account) {
export function privateMentionUser(account: mastodon.v1.Account) {
openPublishDialog('dialog', getDefaultDraftItem({
status: `@${account.acct} `,
visibility: 'direct',

View file

@ -274,7 +274,6 @@
"copy_original_link_to_post": "Copy original link to this post",
"delete": "Delete",
"delete_and_redraft": "Delete & re-draft",
"direct_message_account": "Direct message {0}",
"edit": "Edit",
"hide_reblogs": "Hide boosts from {0}",
"mention_account": "Mention {0}",
@ -282,6 +281,7 @@
"mute_conversation": "Mute this post",
"open_in_original_site": "Open in original site",
"pin_on_profile": "Pin on profile",
"private_mention_account": "Private mention {0}",
"remove_personal_note": "Remove personal note from {0}",
"report_account": "Report {0}",
"share_account": "Share {0}",
@ -761,13 +761,13 @@
"tip_register_account": "pick your server and register one"
},
"visibility": {
"direct": "Direct",
"direct": "Private mention",
"direct_desc": "Visible for mentioned users only",
"private": "Followers only",
"private_desc": "Visible for followers only",
"public": "Public",
"public_desc": "Visible for all",
"unlisted": "Unlisted",
"unlisted": "Quiet public",
"unlisted_desc": "Visible for all, but opted-out of discovery features"
}
}