mirror of https://github.com/vector-im/riot-web
Use sub for substitution variable name
parent
2c5da21adb
commit
dbd2f3daa2
|
@ -163,7 +163,7 @@ export default class KeyBackupPanel extends React.PureComponent {
|
||||||
<p>{encryptedMessageAreEncrypted}</p>
|
<p>{encryptedMessageAreEncrypted}</p>
|
||||||
<p>{_t(
|
<p>{_t(
|
||||||
"This device is <b>not backing up your keys</b>.", {},
|
"This device is <b>not backing up your keys</b>.", {},
|
||||||
{b: x => <b>{x}</b>},
|
{b: sub => <b>{sub}</b>},
|
||||||
)}</p>
|
)}</p>
|
||||||
<p>{_t("Back up your keys before signing out to avoid losing them.")}</p>
|
<p>{_t("Back up your keys before signing out to avoid losing them.")}</p>
|
||||||
</div>;
|
</div>;
|
||||||
|
@ -270,7 +270,7 @@ export default class KeyBackupPanel extends React.PureComponent {
|
||||||
<div>
|
<div>
|
||||||
<p>{_t(
|
<p>{_t(
|
||||||
"Your keys are <b>not being backed up from this device</b>.", {},
|
"Your keys are <b>not being backed up from this device</b>.", {},
|
||||||
{b: x => <b>{x}</b>},
|
{b: sub => <b>{sub}</b>},
|
||||||
)}</p>
|
)}</p>
|
||||||
<p>{encryptedMessageAreEncrypted}</p>
|
<p>{encryptedMessageAreEncrypted}</p>
|
||||||
<p>{_t("Back up your keys before signing out to avoid losing them.")}</p>
|
<p>{_t("Back up your keys before signing out to avoid losing them.")}</p>
|
||||||
|
|
Loading…
Reference in New Issue