Update text for room version upgrades in settings

This commit is contained in:
Travis Ralston 2019-03-15 15:49:18 -06:00
parent da61e5e9d9
commit 92b851b26c
2 changed files with 10 additions and 4 deletions

View file

@ -70,12 +70,17 @@ export default class AdvancedRoomSettingsTab extends React.Component {
<div>
<p className='mx_SettingsTab_warningText'>
{_t(
"Members of the room will be required to click a link to join the new room. No " +
"one will be automatically joined or invited to the new room.",
"<b>Warning</b>: Upgrading a room will <i>not automatically migrate room members " +
"to the new version of the room.</i> We'll post a link to the new room in the old version " +
"of the room - room members will have to click this link to join the new room.",
{}, {
"b": (sub) => <b>{sub}</b>,
"i": (sub) => <i>{sub}</i>,
},
)}
</p>
<AccessibleButton onClick={this._upgradeRoom} kind='primary'>
{_t("Upgrade room to version %(ver)s", {ver: this.state.upgradeRecommendation.version})}
{_t("Upgrade this room to the recommended room version")}
</AccessibleButton>
</div>
);

View file

@ -586,7 +586,8 @@
"Camera": "Camera",
"Voice & Video": "Voice & Video",
"This room is not accessible by remote Matrix servers": "This room is not accessible by remote Matrix servers",
"Upgrade room to version %(ver)s": "Upgrade room to version %(ver)s",
"<b>Warning</b>: Upgrading a room will <i>not automatically migrate room members to the new version of the room.</i> We'll post a link to the new room in the old version of the room - room members will have to click this link to join the new room.": "<b>Warning</b>: Upgrading a room will <i>not automatically migrate room members to the new version of the room.</i> We'll post a link to the new room in the old version of the room - room members will have to click this link to join the new room.",
"Upgrade this room to the recommended room version": "Upgrade this room to the recommended room version",
"Room information": "Room information",
"Internal room ID:": "Internal room ID:",
"Room version": "Room version",