add username to remove confirmation title / update modal description

This commit is contained in:
KDSBrowne 2020-05-12 21:04:07 +00:00
parent 851e63f557
commit 4c23e060bf
2 changed files with 4 additions and 4 deletions

View File

@ -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 })}
>
<div className={styles.container}>
<div className={styles.header}>
<div className={styles.title}>
{intl.formatMessage(messages.removeConfirmTitle)}
{intl.formatMessage(messages.removeConfirmTitle, { 0: user.name })}
</div>
</div>
<div className={styles.description}>

View File

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