From c4322892de70e9c819a0912a0aefc62089e24357 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 29 Mar 2018 14:33:54 +0100 Subject: [PATCH] Reword group setting delay --- src/components/structures/GroupView.js | 10 ++++++++-- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index 2b5b3d5353..8addb190d8 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -708,8 +708,14 @@ export default React.createClass({ const header = this.state.editing ?

{ _t('Community Settings') }

:
; const changeDelayWarning = this.state.editing && this.state.isUserPrivileged ?
- { _t( 'Changes made to your community might not be seen by other users ' + - 'for up to 30 minutes.', + { _t( + 'Changes made to your community name and avatar ' + + 'might not be seen by other users for up to 30 minutes.', + {}, + { + 'bold1': (sub) => { sub } , + 'bold2': (sub) => { sub } , + }, ) }
:
; return
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 2d3ef836e0..48480ed2a9 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -768,7 +768,7 @@ "Leave": "Leave", "Unable to leave room": "Unable to leave room", "Community Settings": "Community Settings", - "Changes made to your community might not be seen by other users for up to 30 minutes.": "Changes made to your community might not be seen by other users for up to 30 minutes.", + "Changes made to your community name and avatar might not be seen by other users for up to 30 minutes.": "Changes made to your community name and avatar might not be seen by other users for up to 30 minutes.", "These rooms are displayed to community members on the community page. Community members can join the rooms by clicking on them.": "These rooms are displayed to community members on the community page. Community members can join the rooms by clicking on them.", "Add rooms to this community": "Add rooms to this community", "Featured Rooms:": "Featured Rooms:",