diff --git a/src/UserSettingsStore.js b/src/UserSettingsStore.js index 6f689735a7..d2b5bca841 100644 --- a/src/UserSettingsStore.js +++ b/src/UserSettingsStore.js @@ -28,7 +28,7 @@ import SdkConfig from './SdkConfig'; const FEATURES = [ { id: 'feature_groups', - name: _td("Groups"), + name: _td("Communities"), }, ]; diff --git a/src/components/structures/GroupView.js b/src/components/structures/GroupView.js index c9cc375563..17610ae059 100644 --- a/src/components/structures/GroupView.js +++ b/src/components/structures/GroupView.js @@ -70,7 +70,7 @@ const CategoryRoomList = React.createClass({ ev.preventDefault(); const AddressPickerDialog = sdk.getComponent("dialogs.AddressPickerDialog"); Modal.createTrackedDialog('Add Rooms to Group Summary', '', AddressPickerDialog, { - title: _t('Add rooms to the group summary'), + title: _t('Add rooms to the community summary'), description: _t("Which rooms would you like to add to this summary?"), placeholder: _t("Room name or alias"), button: _t("Add to summary"), @@ -246,7 +246,7 @@ const RoleUserList = React.createClass({ ev.preventDefault(); const AddressPickerDialog = sdk.getComponent("dialogs.AddressPickerDialog"); Modal.createTrackedDialog('Add Users to Group Summary', '', AddressPickerDialog, { - title: _t('Add users to the group summary'), + title: _t('Add users to the community summary'), description: _t("Who would you like to add to this summary?"), placeholder: _t("Name or matrix ID"), button: _t("Add to summary"), @@ -267,7 +267,7 @@ const RoleUserList = React.createClass({ } const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); Modal.createTrackedDialog( - 'Failed to add the following users to the group summary', + 'Failed to add the following users to the community summary', '', ErrorDialog, { title: _t( @@ -339,7 +339,7 @@ const FeaturedUser = React.createClass({ const displayName = this.props.summaryInfo.displayname || this.props.summaryInfo.user_id; const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); Modal.createTrackedDialog( - 'Failed to remove user from group summary', + 'Failed to remove user from community summary', '', ErrorDialog, { title: _t( @@ -537,10 +537,10 @@ export default React.createClass({ saving: false, }); const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); - console.error("Failed to save group profile", e); + console.error("Failed to save community profile", e); Modal.createTrackedDialog('Failed to update group', '', ErrorDialog, { title: _t('Error'), - description: _t('Failed to update group'), + description: _t('Failed to update community'), }); }).done(); }, @@ -576,7 +576,7 @@ export default React.createClass({ _onLeaveClick: function() { const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog"); Modal.createTrackedDialog('Leave Group', '', QuestionDialog, { - title: _t("Leave Group"), + title: _t("Leave Community"), description: _t("Leave %(groupName)s?", {groupName: this.props.groupId}), button: _t("Leave"), danger: true, @@ -631,12 +631,12 @@ export default React.createClass({
- { _t('Add rooms to this group') } + { _t('Add rooms to this community') }
) :
; return
-

Rooms

+

{ _t('Rooms') }

{ addButton }
@@ -740,7 +740,7 @@ export default React.createClass({ return
- { _t("%(inviter)s has invited you to join this group", {inviter: group.inviter.userId}) } + { _t("%(inviter)s has invited you to join this community", {inviter: group.inviter.userId}) }
; } else if (group.myMembership === 'join') { - let youAreAMemberText = _t("You are a member of this group"); + let youAreAMemberText = _t("You are a member of this community"); if (this.state.summary.user && this.state.summary.user.is_privileged) { - youAreAMemberText = _t("You are an administrator of this group"); + youAreAMemberText = _t("You are an administrator of this community"); } let publicisedButton; @@ -776,7 +776,7 @@ export default React.createClass({ ; } publicisedSection =
- { _t("This group is published on your profile") } + { _t("This community is published on your profile") }
{ publicisedButton }
@@ -790,7 +790,7 @@ export default React.createClass({ ; } publicisedSection =
- { _t("This group is not published on your profile") } + { _t("This community is not published on your profile") }
{ publicisedButton }
@@ -865,7 +865,7 @@ export default React.createClass({ nameNode = ; shortDescNode = , @@ -977,17 +977,17 @@ export default React.createClass({ if (this.state.error.httpStatus === 404) { return (
- Group { this.props.groupId } not found + { _t('Community (%groupId)s not found', {groupId: this.props.groupId}) }
); } else { let extraText; if (this.state.error.errcode === 'M_UNRECOGNIZED') { - extraText =
{ _t('This Home server does not support groups') }
; + extraText =
{ _t('This Home server does not support communities') }
; } return (
- Failed to load { this.props.groupId } + { _t('Failed to load %(groupId)', {groupId: this.props.groupId }) } { extraText }
); diff --git a/src/components/structures/MyGroups.js b/src/components/structures/MyGroups.js index c6885bbe34..9166ef0e64 100644 --- a/src/components/structures/MyGroups.js +++ b/src/components/structures/MyGroups.js @@ -63,7 +63,7 @@ export default withMatrixClient(React.createClass({ _onCreateGroupClick: function() { const CreateGroupDialog = sdk.getComponent("dialogs.CreateGroupDialog"); - Modal.createTrackedDialog('Create Group', '', CreateGroupDialog); + Modal.createTrackedDialog('Create Community', '', CreateGroupDialog); }, _fetch: function() { @@ -90,12 +90,12 @@ export default withMatrixClient(React.createClass({ ); }); content =
-
{ _t('You are a member of these groups:') }
+
{ _t('You are a member of these communities:') }
{ groupNodes }
; } else if (this.state.error) { content =
- { _t('Error whilst fetching joined groups') } + { _t('Error whilst fetching joined communities') }
; } else { content = ; @@ -106,27 +106,27 @@ export default withMatrixClient(React.createClass({
- { _t('Create a new group') } + { _t('Create a new community') }
{ _t( - 'Create a group to represent your community! '+ + 'Create a community to represent your community! '+ 'Define a set of rooms and your own custom homepage '+ 'to mark out your space in the Matrix universe.', ) }
- { _t('Join an existing group') } + { _t('Join an existing community') }
{ _tJsx( - 'To join an existing group you\'ll have to '+ - 'know its group identifier; this will look '+ + 'To join an existing community you\'ll have to '+ + 'know its community identifier; this will look '+ 'something like +example:matrix.org.', /(.*)<\/i>/, (sub) => { sub }, diff --git a/src/components/views/elements/GroupsButton.js b/src/components/views/elements/GroupsButton.js index f973fda74a..9e803c87db 100644 --- a/src/components/views/elements/GroupsButton.js +++ b/src/components/views/elements/GroupsButton.js @@ -22,7 +22,7 @@ const GroupsButton = function(props) { const ActionButton = sdk.getComponent('elements.ActionButton'); return ( -

{ _t('Related Groups') }

+

{ _t('Related Communities') }

);