i18n fixes

This commit is contained in:
Bruno Windels 2020-02-10 14:44:20 +01:00
parent 9059f00b29
commit 2a8453b939
2 changed files with 4 additions and 4 deletions

View file

@ -111,9 +111,8 @@ export default class VerificationPanel extends React.PureComponent {
if (!this.state.qrCodeProps) {
return <div className="mx_UserInfo_container">
<h3>Verify by emoji</h3>
<h3>{_t("Verify by emoji")}</h3>
<p>{_t("Verify by comparing unique emoji.")}</p>
{ button }
</div>;
}
@ -121,7 +120,7 @@ export default class VerificationPanel extends React.PureComponent {
// TODO: add way to open camera to scan a QR code
return <React.Fragment>
<div className="mx_UserInfo_container">
<h3>Verify by scanning</h3>
<h3>{_t("Verify by scanning")}</h3>
<p>{_t("Ask %(displayName)s to scan your code:", {
displayName: member.displayName || member.name || member.userId,
})}</p>
@ -132,7 +131,7 @@ export default class VerificationPanel extends React.PureComponent {
</div>
<div className="mx_UserInfo_container">
<h3>Verify by emoji</h3>
<h3>{_t("Verify by emoji")}</h3>
<p>{_t("If you can't scan the code above, verify by comparing unique emoji.")}</p>
{ button }

View file

@ -1192,6 +1192,7 @@
"Security": "Security",
"Verify by emoji": "Verify by emoji",
"Verify by comparing unique emoji.": "Verify by comparing unique emoji.",
"Verify by scanning": "Verify by scanning",
"Ask %(displayName)s to scan your code:": "Ask %(displayName)s to scan your code:",
"If you can't scan the code above, verify by comparing unique emoji.": "If you can't scan the code above, verify by comparing unique emoji.",
"You've successfully verified %(displayName)s!": "You've successfully verified %(displayName)s!",