Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Show room version number in room settings
Browse files Browse the repository at this point in the history
Also change wording of the Room ID bit to match

Requires matrix-org/matrix-js-sdk#689
For element-hq/element-web#7164
  • Loading branch information
dbkr committed Aug 14, 2018
1 parent d58dc23 commit f209207
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/views/rooms/RoomSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,8 @@ module.exports = React.createClass({

<h3>{ _t('Advanced') }</h3>
<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>
);
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,8 @@
"Members only (since they joined)": "Members only (since they joined)",
"Permissions": "Permissions",
"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",
"Search…": "Search…",
"This Room": "This Room",
Expand Down

0 comments on commit f209207

Please sign in to comment.