Update text for /upgraderoom to match suggestions
parent
f6e3437944
commit
4777f851f8
|
@ -112,30 +112,59 @@ export const CommandMap = {
|
||||||
title: _t('Room upgrade confirmation'),
|
title: _t('Room upgrade confirmation'),
|
||||||
description: (
|
description: (
|
||||||
<div>
|
<div>
|
||||||
{ _t(
|
<p>{_t("Upgrading a room can be destructive and isn't always necessary.")}</p>
|
||||||
"Upgrading your room in this way can be dangerous or unnecessary. Room upgrades " +
|
<p>
|
||||||
"are usually done to change the server's behaviour in a given room and not so much " +
|
{_t(
|
||||||
"anything to do with client (Riot) behaviour.",
|
"Room upgrades are usually recommended when a room version is considered " +
|
||||||
) }
|
"<i>unstable</i>. Unstable room versions might have bugs, missing features, or " +
|
||||||
<br />
|
"security vulnerabilities.",
|
||||||
<br />
|
{}, {
|
||||||
{ _t(
|
"i": (sub) => <i>{sub}</i>,
|
||||||
"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.",
|
)}
|
||||||
) }
|
</p>
|
||||||
<br />
|
<p>
|
||||||
<br />
|
{_t(
|
||||||
{ _t(
|
"Room upgrades usually only affect <i>server-side</i> processing of the " +
|
||||||
"Please confirm that you'd like to go forward with upgrading this room from " +
|
"room. If you're having problems with your Riot client, please file an issue " +
|
||||||
"%(oldVersion)s to %(newVersion)s",
|
"with <issueLink />.",
|
||||||
{
|
{}, {
|
||||||
oldVersion: room ? room.getVersion() : "1",
|
"i": (sub) => <i>{sub}</i>,
|
||||||
newVersion: args,
|
"issueLink": () => {
|
||||||
},
|
return <a href="https://github.com/vector-im/riot-web/issues/new/choose"
|
||||||
) }
|
target="_blank" rel="noopener">
|
||||||
|
https://github.com/vector-im/riot-web/issues/new/choose
|
||||||
|
</a>;
|
||||||
|
},
|
||||||
|
}
|
||||||
|
)}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{_t(
|
||||||
|
"<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>
|
||||||
|
<p>
|
||||||
|
{_t(
|
||||||
|
"Please confirm that you'd like to go forward with upgrading this room " +
|
||||||
|
"from <oldVersion /> to <newVersion />",
|
||||||
|
{},
|
||||||
|
{
|
||||||
|
oldVersion: () => <code>{room ? room.getVersion() : "1"}</code>,
|
||||||
|
newVersion: () => <code>{args}</code>,
|
||||||
|
},
|
||||||
|
)}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
button: _t("Upgrade Room"),
|
button: _t("Upgrade"),
|
||||||
onFinished: (confirm) => {
|
onFinished: (confirm) => {
|
||||||
if (!confirm) return;
|
if (!confirm) return;
|
||||||
|
|
||||||
|
|
|
@ -133,10 +133,12 @@
|
||||||
"To use it, just wait for autocomplete results to load and tab through them.": "To use it, just wait for autocomplete results to load and tab through them.",
|
"To use it, just wait for autocomplete results to load and tab through them.": "To use it, just wait for autocomplete results to load and tab through them.",
|
||||||
"Upgrades a room to a new version": "Upgrades a room to a new version",
|
"Upgrades a room to a new version": "Upgrades a room to a new version",
|
||||||
"Room upgrade confirmation": "Room upgrade confirmation",
|
"Room upgrade confirmation": "Room upgrade confirmation",
|
||||||
"Upgrading your room in this way can be dangerous or unnecessary. Room upgrades are usually done to change the server's behaviour in a given room and not so much anything to do with client (Riot) behaviour.": "Upgrading your room in this way can be dangerous or unnecessary. Room upgrades are usually done to change the server's behaviour in a given room and not so much anything to do with client (Riot) behaviour.",
|
"Upgrading a room can be destructive and isn't always necessary.": "Upgrading a room can be destructive and isn't always necessary.",
|
||||||
"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.": "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.",
|
"Room upgrades are usually recommended when a room version is considered <i>unstable</i>. Unstable room versions might have bugs, missing features, or security vulnerabilities.": "Room upgrades are usually recommended when a room version is considered <i>unstable</i>. Unstable room versions might have bugs, missing features, or security vulnerabilities.",
|
||||||
"Please confirm that you'd like to go forward with upgrading this room from %(oldVersion)s to %(newVersion)s": "Please confirm that you'd like to go forward with upgrading this room from %(oldVersion)s to %(newVersion)s",
|
"Room upgrades usually only affect <i>server-side</i> processing of the room. If you're having problems with your Riot client, please file an issue with <issueLink />.": "Room upgrades usually only affect <i>server-side</i> processing of the room. If you're having problems with your Riot client, please file an issue with <issueLink />.",
|
||||||
"Upgrade Room": "Upgrade 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>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.",
|
||||||
|
"Please confirm that you'd like to go forward with upgrading this room from <oldVersion /> to <newVersion />": "Please confirm that you'd like to go forward with upgrading this room from <oldVersion /> to <newVersion />",
|
||||||
|
"Upgrade": "Upgrade",
|
||||||
"Changes your display nickname": "Changes your display nickname",
|
"Changes your display nickname": "Changes your display nickname",
|
||||||
"Changes your display nickname in the current room only": "Changes your display nickname in the current room only",
|
"Changes your display nickname in the current room only": "Changes your display nickname in the current room only",
|
||||||
"Changes colour scheme of current room": "Changes colour scheme of current room",
|
"Changes colour scheme of current room": "Changes colour scheme of current room",
|
||||||
|
@ -586,7 +588,6 @@
|
||||||
"Camera": "Camera",
|
"Camera": "Camera",
|
||||||
"Voice & Video": "Voice & Video",
|
"Voice & Video": "Voice & Video",
|
||||||
"This room is not accessible by remote Matrix servers": "This room is not accessible by remote Matrix servers",
|
"This room is not accessible by remote Matrix servers": "This room is not accessible by remote Matrix servers",
|
||||||
"<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",
|
"Upgrade this room to the recommended room version": "Upgrade this room to the recommended room version",
|
||||||
"Room information": "Room information",
|
"Room information": "Room information",
|
||||||
"Internal room ID:": "Internal room ID:",
|
"Internal room ID:": "Internal room ID:",
|
||||||
|
@ -808,11 +809,7 @@
|
||||||
"Not now": "Not now",
|
"Not now": "Not now",
|
||||||
"Don't ask me again": "Don't ask me again",
|
"Don't ask me again": "Don't ask me again",
|
||||||
"Add a topic": "Add a topic",
|
"Add a topic": "Add a topic",
|
||||||
"This room is using an unstable room version. If you aren't expecting this, please upgrade the room.": "This room is using an unstable room version. If you aren't expecting this, please upgrade the room.",
|
"This room is running room version <roomVersion />, which this homeserver has marked as <i>unstable</i>.": "This room is running room version <roomVersion />, which this homeserver has marked as <i>unstable</i>.",
|
||||||
"Click here to upgrade to the latest room version.": "Click here to upgrade to the latest room version.",
|
|
||||||
"There is a known vulnerability affecting this room.": "There is a known vulnerability affecting this room.",
|
|
||||||
"This room version is vulnerable to malicious modification of room state.": "This room version is vulnerable to malicious modification of room state.",
|
|
||||||
"This room is running room version <roomVersion/>, which this homeserver has marked as <i>unstable</i>.": "This room is running room version <roomVersion/>, which this homeserver has marked as <i>unstable</i>.",
|
|
||||||
"Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.": "Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.",
|
"Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.": "Upgrading this room will shut down the current instance of the room and create an upgraded room with the same name.",
|
||||||
"Only room administrators will see this warning": "Only room administrators will see this warning",
|
"Only room administrators will see this warning": "Only room administrators will see this warning",
|
||||||
"This Room": "This Room",
|
"This Room": "This Room",
|
||||||
|
|
Loading…
Reference in New Issue