From 4c23e060bf5c0e05d02482b911f784d2e653cc11 Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Tue, 12 May 2020 21:04:07 +0000 Subject: [PATCH] add username to remove confirmation title / update modal description --- .../user-list-item/user-dropdown/component.jsx | 4 ++-- bigbluebutton-html5/private/locales/en.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx index 5418d8b08b..5ced7fb6f2 100755 --- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/component.jsx @@ -413,12 +413,12 @@ class UserDropdown extends PureComponent { className={styles.modal} onRequestClose={() => mountModal(null)} hideBorder - contentLabel={intl.formatMessage(messages.removeConfirmTitle)} + contentLabel={intl.formatMessage(messages.removeConfirmTitle, { 0: user.name })} >
- {intl.formatMessage(messages.removeConfirmTitle)} + {intl.formatMessage(messages.removeConfirmTitle, { 0: user.name })}
diff --git a/bigbluebutton-html5/private/locales/en.json b/bigbluebutton-html5/private/locales/en.json index 72a5c37af0..f5f23652d1 100755 --- a/bigbluebutton-html5/private/locales/en.json +++ b/bigbluebutton-html5/private/locales/en.json @@ -72,8 +72,8 @@ "app.userList.menu.chat.label": "Start a private chat", "app.userList.menu.clearStatus.label": "Clear status", "app.userList.menu.removeUser.label": "Remove user", - "app.userList.menu.removeConfirmation.label": "Remove User Confirmation", - "app.userlist.menu.removeConfirmation.desc": "They will not be allowed to rejoin this current session.", + "app.userList.menu.removeConfirmation.label": "Remove user ({0})", + "app.userlist.menu.removeConfirmation.desc": "Are you sure you want to remove this user? Once removed they will not be able to rejoin this session.", "app.userList.menu.muteUserAudio.label": "Mute user", "app.userList.menu.unmuteUserAudio.label": "Unmute user", "app.userList.userAriaLabel": "{0} {1} {2} Status {3}",