From 27118a97993ea267eb6db398f7098ce61c5ff4b0 Mon Sep 17 00:00:00 2001 From: Emmanuel <63562663+EECvision@users.noreply.github.com> Date: Sun, 17 Apr 2022 20:29:41 +0100 Subject: [PATCH] Fix admin tools phrase inconsistency (#8342) * fix-admin-tools-phrase-inconsistency * correctly specify space room action * run i18n * Apply suggestions from code review Revert the applied formatting. Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> * fix inconsistency for RoomKickButton Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/right_panel/UserInfo.tsx | 9 +++++++-- src/i18n/strings/en_EN.json | 7 ++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index 25d54da463..c9685c2467 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -575,7 +575,9 @@ const RoomKickButton = ({ room, member, startUpdating, stopUpdating }: Omit { kickLabel } ; diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index bbcb3e37b0..c5ecce8e81 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1983,15 +1983,16 @@ "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the space it will be impossible to regain privileges.": "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the space it will be impossible to regain privileges.", "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the room it will be impossible to regain privileges.": "You will not be able to undo this change as you are demoting yourself, if you are the last privileged user in the room it will be impossible to regain privileges.", "Demote": "Demote", - "Disinvite": "Disinvite", - "Remove from chat": "Remove from chat", + "Disinvite from space": "Disinvite from space", + "Remove from space": "Remove from space", + "Disinvite from room": "Disinvite from room", + "Remove from room": "Remove from room", "Disinvite from %(roomName)s": "Disinvite from %(roomName)s", "Remove from %(roomName)s": "Remove from %(roomName)s", "Remove them from everything I'm able to": "Remove them from everything I'm able to", "Remove them from specific things I'm able to": "Remove them from specific things I'm able to", "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 remove user": "Failed to remove user", - "Remove from room": "Remove from room", "Remove recent messages": "Remove recent messages", "Unban from space": "Unban from space", "Ban from space": "Ban from space",