From 53001293573be330784598b7873f201f05c7d1e6 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 e2968f796..77f597e83 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 6523d597b273161025c34fff827d8acff9a69ac5 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 fcc8ad081..d67e3b362 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 0f1c700fd..2e6795a78 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: "この投稿はブーストできません。"