From a8ca7c899fb532dc86f2cd4d65b1117cb85f9d79 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 2 Jun 2017 11:16:08 +0100 Subject: [PATCH] Review comments --- src/components/structures/MatrixChat.js | 3 +-- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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",