Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Rephrased inconsistent "ban" in the room space. #7576

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/views/right_panel/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -772,9 +772,9 @@ const BanToggleButton = ({ room, member, startUpdating, stopUpdating }: Omit<IBa
});
};

let label = _t("Ban");
let label = _t("Ban from room");
if (isBanned) {
label = _t("Unban");
label = _t("Unban from room");
}

const classes = classNames("mx_UserInfo_field", {
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,8 @@
"Ban them from specific things I'm able to": "Ban them from specific things I'm able to",
"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",
"Ban from room": "Ban from room",
"Unban from room": "Unban from room",
"Failed to mute user": "Failed to mute user",
"Unmute": "Unmute",
"Mute": "Mute",
Expand Down