Merge pull request #2117 from matrix-org/dbkr/show_room_version

Show room version number in room settings
pull/21833/head
Bruno Windels 2018-08-15 08:55:38 +02:00 committed by GitHub
commit 4c69c8d0f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,7 @@
/* /*
Copyright 2015, 2016 OpenMarket Ltd Copyright 2015, 2016 OpenMarket Ltd
Copyright 2017 Vector Creations Ltd Copyright 2017 Vector Creations Ltd
Copyright 2018 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -1039,7 +1040,8 @@ module.exports = React.createClass({
<h3>{ _t('Advanced') }</h3> <h3>{ _t('Advanced') }</h3>
<div className="mx_RoomSettings_settings"> <div className="mx_RoomSettings_settings">
{ _t('This room\'s internal ID is') } <code>{ this.props.room.roomId }</code> { _t('Internal room ID: ') } <code>{ this.props.room.roomId }</code><br />
{ _t('Room version number: ') } <code>{ this.props.room.getVersion() }</code>
</div> </div>
</div> </div>
); );

View File

@ -540,7 +540,8 @@
"Members only (since they joined)": "Members only (since they joined)", "Members only (since they joined)": "Members only (since they joined)",
"Permissions": "Permissions", "Permissions": "Permissions",
"Advanced": "Advanced", "Advanced": "Advanced",
"This room's internal ID is": "This room's internal ID is", "Internal room ID: ": "Internal room ID: ",
"Room version number: ": "Room version number: ",
"Add a topic": "Add a topic", "Add a topic": "Add a topic",
"Search…": "Search…", "Search…": "Search…",
"This Room": "This Room", "This Room": "This Room",