Merge pull request 'chore: change labels on boost buttons' (#9845) from naskya/calckey:change-boost-buttons-label into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9845
This commit is contained in:
Kainoa Kanter 2023-04-13 07:30:46 +00:00
commit d8fd33d467
3 changed files with 3 additions and 9 deletions

View File

@ -97,9 +97,6 @@ unfollow: "Unfollow"
followRequestPending: "Follow request pending" followRequestPending: "Follow request pending"
enterEmoji: "Enter an emoji" enterEmoji: "Enter an emoji"
renote: "Boost" renote: "Boost"
renoteAsUnlisted: "Boost (Unlisted)"
renoteToFollowers: "Boost (Followers)"
renoteToRecipients: "Boost (Recipients)"
unrenote: "Take back boost" unrenote: "Take back boost"
renoted: "Boosted." renoted: "Boosted."
cantRenote: "This post can't be boosted." cantRenote: "This post can't be boosted."

View File

@ -97,9 +97,6 @@ unfollow: "フォロー解除"
followRequestPending: "フォロー許可待ち" followRequestPending: "フォロー許可待ち"
enterEmoji: "絵文字を入力" enterEmoji: "絵文字を入力"
renote: "ブースト" renote: "ブースト"
renoteAsUnlisted: "未収載でブースト"
renoteToFollowers: "フォロワー限定でブースト"
renoteToRecipients: "宛先のユーザーにブースト"
unrenote: "ブースト解除" unrenote: "ブースト解除"
renoted: "ブーストしました。" renoted: "ブーストしました。"
cantRenote: "この投稿はブーストできません。" cantRenote: "この投稿はブーストできません。"

View File

@ -104,7 +104,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
if (["public", "home"].includes(props.note.visibility)) { if (["public", "home"].includes(props.note.visibility)) {
buttonActions.push({ buttonActions.push({
text: i18n.ts.renoteAsUnlisted, text: `${i18n.ts.renote} (${i18n.ts._visibility.home})`,
icons: ["ph-repeat ph-bold ph-lg", "ph-house ph-bold ph-lg"], icons: ["ph-repeat ph-bold ph-lg", "ph-house ph-bold ph-lg"],
danger: false, danger: false,
action: () => { action: () => {
@ -130,7 +130,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
if (props.note.visibility === "specified") { if (props.note.visibility === "specified") {
buttonActions.push({ buttonActions.push({
text: i18n.ts.renoteToRecipients, text: `${i18n.ts.renote} (${i18n.ts.recipient})`,
icons: [ icons: [
"ph-repeat ph-bold ph-lg", "ph-repeat ph-bold ph-lg",
"ph-envelope-simple-open ph-bold ph-lg", "ph-envelope-simple-open ph-bold ph-lg",
@ -158,7 +158,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => {
}); });
} else { } else {
buttonActions.push({ buttonActions.push({
text: i18n.ts.renoteToFollowers, text: `${i18n.ts.renote} (${i18n.ts._visibility.followers})`,
icons: [ icons: [
"ph-repeat ph-bold ph-lg", "ph-repeat ph-bold ph-lg",
"ph-lock-simple-open ph-bold ph-lg", "ph-lock-simple-open ph-bold ph-lg",