From 85cfd48744e30f4f3d0c0b9b3a5e24baf18ba72e Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 8 Feb 2019 09:15:12 -0700 Subject: [PATCH] join rules -> join rule --- src/TextForEvent.js | 2 +- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TextForEvent.js b/src/TextForEvent.js index 241fefe5bb..ac0af82ff1 100644 --- a/src/TextForEvent.js +++ b/src/TextForEvent.js @@ -143,7 +143,7 @@ function textForJoinRulesEvent(ev) { return _t('%(senderDisplayName)s made the room invite only.', {senderDisplayName}); default: // The spec supports "knock" and "private", however nothing implements these. - return _t('%(senderDisplayName)s changed the join rules to %(rule)s', { + return _t('%(senderDisplayName)s changed the join rule to %(rule)s', { senderDisplayName, rule: ev.getContent().join_rule, }); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index ab69a93ac2..244db0aca9 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -188,7 +188,7 @@ "%(senderDisplayName)s upgraded this room.": "%(senderDisplayName)s upgraded this room.", "%(senderDisplayName)s made the room public to whoever knows the link.": "%(senderDisplayName)s made the room public to whoever knows the link.", "%(senderDisplayName)s made the room invite only.": "%(senderDisplayName)s made the room invite only.", - "%(senderDisplayName)s changed the join rules to %(rule)s": "%(senderDisplayName)s changed the join rules to %(rule)s", + "%(senderDisplayName)s changed the join rule to %(rule)s": "%(senderDisplayName)s changed the join rule to %(rule)s", "%(senderDisplayName)s has allowed guests to join the room.": "%(senderDisplayName)s has allowed guests to join the room.", "%(senderDisplayName)s has prevented guests from joining the room.": "%(senderDisplayName)s has prevented guests from joining the room.", "%(senderDisplayName)s changed guest access to %(rule)s": "%(senderDisplayName)s changed guest access to %(rule)s",