From d5ce896bd2792834f7b43b33e1767e6ec25de01f Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 13 Apr 2023 11:58:42 +0900 Subject: [PATCH 1/2] Change boost button labels --- packages/client/src/components/MkRenoteButton.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/MkRenoteButton.vue b/packages/client/src/components/MkRenoteButton.vue index e2968f796e..77f597e833 100644 --- a/packages/client/src/components/MkRenoteButton.vue +++ b/packages/client/src/components/MkRenoteButton.vue @@ -104,7 +104,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => { if (["public", "home"].includes(props.note.visibility)) { 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"], danger: false, action: () => { @@ -130,7 +130,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => { if (props.note.visibility === "specified") { buttonActions.push({ - text: i18n.ts.renoteToRecipients, + text: `${i18n.ts.renote} (${i18n.ts.recipient})`, icons: [ "ph-repeat ph-bold ph-lg", "ph-envelope-simple-open ph-bold ph-lg", @@ -158,7 +158,7 @@ const renote = async (viaKeyboard = false, ev?: MouseEvent) => { }); } else { buttonActions.push({ - text: i18n.ts.renoteToFollowers, + text: `${i18n.ts.renote} (${i18n.ts._visibility.followers})`, icons: [ "ph-repeat ph-bold ph-lg", "ph-lock-simple-open ph-bold ph-lg", From a53e3d9beb2955ec276fee9f56ae29d4dff1f962 Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 13 Apr 2023 11:58:57 +0900 Subject: [PATCH 2/2] Update locale --- locales/en-US.yml | 3 --- locales/ja-JP.yml | 3 --- 2 files changed, 6 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index fcc8ad0816..d67e3b362f 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -97,9 +97,6 @@ unfollow: "Unfollow" followRequestPending: "Follow request pending" enterEmoji: "Enter an emoji" renote: "Boost" -renoteAsUnlisted: "Boost (Unlisted)" -renoteToFollowers: "Boost (Followers)" -renoteToRecipients: "Boost (Recipients)" unrenote: "Take back boost" renoted: "Boosted." cantRenote: "This post can't be boosted." diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 0f1c700fd8..2e6795a785 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -97,9 +97,6 @@ unfollow: "フォロー解除" followRequestPending: "フォロー許可待ち" enterEmoji: "絵文字を入力" renote: "ブースト" -renoteAsUnlisted: "未収載でブースト" -renoteToFollowers: "フォロワー限定でブースト" -renoteToRecipients: "宛先のユーザーにブースト" unrenote: "ブースト解除" renoted: "ブーストしました。" cantRenote: "この投稿はブーストできません。"