diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index e82427ee3f..2c79a4c87c 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -687,8 +687,7 @@ module.exports = React.createClass({ title: _t("Leave room"), description: ( - {_t("Are you sure you want to leave the room ")} - {roomToLeave.name}? + {_t("Are you sure you want to leave the room '%(roomName)s'?", {roomName: roomToLeave.name})} ), onFinished: (shouldLeave) => { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index b5b027abae..8ff8c64e00 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -165,7 +165,7 @@ "Anyone who knows the room's link, apart from guests": "Anyone who knows the room's link, apart from guests", "Anyone who knows the room's link, including guests": "Anyone who knows the room's link, including guests", "Are you sure?": "Are you sure?", - "Are you sure you want to leave the room ": "Are you sure you want to leave the room ", + "Are you sure you want to leave the room '%(roomName)s'?": "Are you sure you want to leave the room '%(roomName)s'?", "Are you sure you want to reject the invitation?": "Are you sure you want to reject the invitation?", "Are you sure you want to upload the following files?": "Are you sure you want to upload the following files?", "Attachment": "Attachment",