You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
i18n fixes
This commit is contained in:
@@ -111,9 +111,8 @@ export default class VerificationPanel extends React.PureComponent {
|
|||||||
|
|
||||||
if (!this.state.qrCodeProps) {
|
if (!this.state.qrCodeProps) {
|
||||||
return <div className="mx_UserInfo_container">
|
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>
|
<p>{_t("Verify by comparing unique emoji.")}</p>
|
||||||
|
|
||||||
{ button }
|
{ button }
|
||||||
</div>;
|
</div>;
|
||||||
}
|
}
|
||||||
@@ -121,7 +120,7 @@ export default class VerificationPanel extends React.PureComponent {
|
|||||||
// TODO: add way to open camera to scan a QR code
|
// TODO: add way to open camera to scan a QR code
|
||||||
return <React.Fragment>
|
return <React.Fragment>
|
||||||
<div className="mx_UserInfo_container">
|
<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:", {
|
<p>{_t("Ask %(displayName)s to scan your code:", {
|
||||||
displayName: member.displayName || member.name || member.userId,
|
displayName: member.displayName || member.name || member.userId,
|
||||||
})}</p>
|
})}</p>
|
||||||
@@ -132,7 +131,7 @@ export default class VerificationPanel extends React.PureComponent {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mx_UserInfo_container">
|
<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>
|
<p>{_t("If you can't scan the code above, verify by comparing unique emoji.")}</p>
|
||||||
|
|
||||||
{ button }
|
{ button }
|
||||||
|
|||||||
@@ -1192,6 +1192,7 @@
|
|||||||
"Security": "Security",
|
"Security": "Security",
|
||||||
"Verify by emoji": "Verify by emoji",
|
"Verify by emoji": "Verify by emoji",
|
||||||
"Verify by comparing unique emoji.": "Verify by comparing unique 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:",
|
"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.",
|
"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!",
|
"You've successfully verified %(displayName)s!": "You've successfully verified %(displayName)s!",
|
||||||
|
|||||||
Reference in New Issue
Block a user