From dac6a3360b38da1269b833689015114849551fb2 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 25 May 2017 19:25:06 +0100 Subject: [PATCH] Oops, don't change these reason strings. --- src/TextForEvent.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/TextForEvent.js b/src/TextForEvent.js index d5a54927a0..88872807e3 100644 --- a/src/TextForEvent.js +++ b/src/TextForEvent.js @@ -94,15 +94,15 @@ function textForMemberEvent(ev) { } else if (ev.getPrevContent().membership === "join") { return _t( - '%(senderName)s kicked %(targetName)s. %(reason)s', - {senderName: senderName, targetName: targetName, reason} - ); + '%(senderName)s kicked %(targetName)s.', + {senderName: senderName, targetName: targetName} + ) + '. ' + reason; } else if (ev.getPrevContent().membership === "invite") { return _t( - '%(senderName)s withdrew %(targetName)s\'s inivitation. %(reason)s', - {senderName: senderName, targetName: targetName, reason: reason} - ); + '%(senderName)s withdrew %(targetName)s\'s inivitation.', + {senderName: senderName, targetName: targetName} + ) + '. ' + reason; } else { return _t('%(targetName)s left the room.', {targetName: targetName});