Change boost button labels

This commit is contained in:
naskya 2023-04-13 11:58:42 +09:00
parent b9e79cbc64
commit d5ce896bd2
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139

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",