Rename group settings to 'Edit Group'

pull/21833/head
David Baker 2017-07-17 17:17:18 +01:00
parent a32113ad97
commit 1cd79fc918
2 changed files with 4 additions and 3 deletions

View File

@ -211,7 +211,7 @@ export default React.createClass({
});
},
_onSettingsClick: function() {
_onEditClick: function() {
this.setState({
editing: true,
profileForm: Object.assign({}, this.state.summary.profile),
@ -420,7 +420,7 @@ export default React.createClass({
{this._getFeaturedRoomsNode()}
{this._getFeaturedUsersNode()}
</div>;
rightButtons = <AccessibleButton className="mx_RoomHeader_button" onClick={this._onSettingsClick} title={_t("Settings")}>
rightButtons = <AccessibleButton className="mx_GroupHeader_button" onClick={this._onEditClick} title={_t("Edit Group")}>
<TintableSvg src="img/icons-settings-room.svg" width="16" height="16"/>
</AccessibleButton>;
}

View File

@ -955,5 +955,6 @@
"To join an exisitng group you'll have to know its group identifier; this will look something like <i>+example:matrix.org</i>.": "To join an exisitng group you'll have to know its group identifier; this will look something like <i>+example:matrix.org</i>.",
"Featured Rooms:": "Featured Rooms:",
"Error whilst fetching joined groups": "Error whilst fetching joined groups",
"Featured Users:": "Featured Users:"
"Featured Users:": "Featured Users:",
"Edit Group": "Edit Group"
}