From f72103894268432386562dc08a1d1221adeacc3b 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 5ef627034c..353c0a8694 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -752,8 +752,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 7d213d73a8..84a65fa3cf 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -766,7 +766,7 @@ "Leave": "Leave", "Unable to leave community": "Unable to leave community", "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:",