From 2a8453b9397b241daa62e0dd1124496496ed2b6f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 10 Feb 2020 14:44:20 +0100 Subject: [PATCH] i18n fixes --- src/components/views/right_panel/VerificationPanel.js | 7 +++---- src/i18n/strings/en_EN.json | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/views/right_panel/VerificationPanel.js b/src/components/views/right_panel/VerificationPanel.js index 08b90f9114..94051686bd 100644 --- a/src/components/views/right_panel/VerificationPanel.js +++ b/src/components/views/right_panel/VerificationPanel.js @@ -111,9 +111,8 @@ export default class VerificationPanel extends React.PureComponent { if (!this.state.qrCodeProps) { return
-

Verify by emoji

+

{_t("Verify by emoji")}

{_t("Verify by comparing unique emoji.")}

- { button }
; } @@ -121,7 +120,7 @@ export default class VerificationPanel extends React.PureComponent { // TODO: add way to open camera to scan a QR code return
-

Verify by scanning

+

{_t("Verify by scanning")}

{_t("Ask %(displayName)s to scan your code:", { displayName: member.displayName || member.name || member.userId, })}

@@ -132,7 +131,7 @@ export default class VerificationPanel extends React.PureComponent {
-

Verify by emoji

+

{_t("Verify by emoji")}

{_t("If you can't scan the code above, verify by comparing unique emoji.")}

{ button } diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 18df6dc70f..97e2a7cb5b 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -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!",