From 6454aa7a95ec4d387b3bd84aa6d3ac98ca80b073 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 30 Sep 2021 11:46:05 +0100 Subject: [PATCH] Update copy --- src/components/views/right_panel/UserInfo.tsx | 15 +++------------ src/i18n/strings/en_EN.json | 4 ++-- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index edb78fc167..ee81664a47 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -565,10 +565,7 @@ const RoomKickButton = ({ room, member, startUpdating, stopUpdating }: Omit, " + - "they'll still be able to access whatever you're not an admin of.", {}, { - SpaceName: () => { room.name }, - }), + warningMessage: _t("They'll still be able to access whatever you're not an admin of."), }, room.isSpaceRoom() ? "mx_ConfirmSpaceUserActionDialog_wrapper" : undefined, ); @@ -721,14 +718,8 @@ const BanToggleButton = ({ room, member, startUpdating, stopUpdating }: Omit, " + - "they still won't be able to access whatever you're not an admin of.", {}, { - SpaceName: () => { room.name }, - }) - : _t("If you're not an admin of a room or space in , " + - "they'll still be able to access whatever you're not an admin of.", {}, { - SpaceName: () => { room.name }, - }), + ? _t("They won't be able to access whatever you're not an admin of.") + : _t("They'll still be able to access whatever you're not an admin of."), }, room.isSpaceRoom() ? "mx_ConfirmSpaceUserActionDialog_wrapper" : undefined, ); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 07757b9c8b..01189adbe1 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1851,7 +1851,7 @@ "Kick from %(roomName)s": "Kick from %(roomName)s", "Kick them from everything I'm able to": "Kick them from everything I'm able to", "Kick them from specific things I'm able to": "Kick them from specific things I'm able to", - "If you're not an admin of a room or space in , they'll still be able to access whatever you're not an admin of.": "If you're not an admin of a room or space in , they'll still be able to access whatever you're not an admin of.", + "They'll still be able to access whatever you're not an admin of.": "They'll still be able to access whatever you're not an admin of.", "Failed to kick": "Failed to kick", "No recent messages by %(user)s found": "No recent messages by %(user)s found", "Try scrolling up in the timeline to see if there are any earlier ones.": "Try scrolling up in the timeline to see if there are any earlier ones.", @@ -1869,7 +1869,7 @@ "Ban them from everything I'm able to": "Ban them from everything I'm able to", "Unban them from specific things I'm able to": "Unban them from specific things I'm able to", "Ban them from specific things I'm able to": "Ban them from specific things I'm able to", - "If you’re not an admin of a room or space in , they still won't be able to access whatever you're not an admin of.": "If you’re not an admin of a room or space in , they still won't be able to access whatever you're not an admin of.", + "They won't be able to access whatever you're not an admin of.": "They won't be able to access whatever you're not an admin of.", "Failed to ban user": "Failed to ban user", "Failed to mute user": "Failed to mute user", "Unmute": "Unmute",