From 5a4ec1996d9f2ead19ac7b354fb2708cb954438a Mon Sep 17 00:00:00 2001 From: daniel tygel Date: Tue, 30 May 2017 16:29:50 -0300 Subject: [PATCH] fix error in i18n string --- src/components/views/messages/TextualBody.js | 4 ++-- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/messages/TextualBody.js b/src/components/views/messages/TextualBody.js index 83a35b9841..aff6725475 100644 --- a/src/components/views/messages/TextualBody.js +++ b/src/components/views/messages/TextualBody.js @@ -235,8 +235,8 @@ module.exports = React.createClass({ description:
{_t("You are about to be taken to a third-party site so you can " + - "authenticate your account for use with {integrationsUrl}. " + - "Do you wish to continue?")} + "authenticate your account for use with %(integrationsUrl)s. " + + "Do you wish to continue?", {integrationsUrl: integrationsUrl})}
, button: _t("Continue"), onFinished: function(confirmed) { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 4cf16b3d5d..051a84bd10 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -751,7 +751,7 @@ "This image cannot be displayed.": "This image cannot be displayed.", "Error decrypting video": "Error decrypting video", "Add an Integration": "Add an Integration", - "You are about to be taken to a third-party site so you can authenticate your account for use with {integrationsUrl}. Do you wish to continue?": "You are about to be taken to a third-party site so you can authenticate your account for use with {integrationsUrl}. Do you wish to continue?", + "You are about to be taken to a third-party site so you can authenticate your account for use with %(integrationsUrl)s. Do you wish to continue?": "You are about to be taken to a third-party site so you can authenticate your account for use with %(integrationsUrl)s. Do you wish to continue?", "Removed or unknown message type": "Removed or unknown message type", "Disable URL previews by default for participants in this room": "Disable URL previews by default for participants in this room", "URL previews are %(globalDisableUrlPreview)s by default for participants in this room.": "URL previews are %(globalDisableUrlPreview)s by default for participants in this room.",