From 14b27b2d9c4ebf95ae58b1776c8600fcdb9b2627 Mon Sep 17 00:00:00 2001 From: Ali Toshmatov Date: Fri, 16 Jun 2023 11:16:39 +0500 Subject: [PATCH] Added 'Copied!' text to checkedText of buttons in 2FA --- src/languages/en.js | 1 + src/languages/es.js | 1 + src/pages/settings/Security/TwoFactorAuth/CodesPage.js | 1 + src/pages/settings/Security/TwoFactorAuth/VerifyPage.js | 1 + 4 files changed, 4 insertions(+) diff --git a/src/languages/en.js b/src/languages/en.js index 8cde382c49c8..14c9448cb43c 100755 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -144,6 +144,7 @@ export default { per: 'per', mi: 'mile', km: 'kilometer', + copied: 'Copied!', }, anonymousReportFooter: { logoTagline: 'Join in on the discussion.', diff --git a/src/languages/es.js b/src/languages/es.js index 791ec5946c4d..a04513859957 100644 --- a/src/languages/es.js +++ b/src/languages/es.js @@ -143,6 +143,7 @@ export default { per: 'por', mi: 'milla', km: 'kilómetro', + copied: '¡Copiado!', }, anonymousReportFooter: { logoTagline: 'Únete a la discussion.', diff --git a/src/pages/settings/Security/TwoFactorAuth/CodesPage.js b/src/pages/settings/Security/TwoFactorAuth/CodesPage.js index 02911676d430..b46ca1bceffc 100644 --- a/src/pages/settings/Security/TwoFactorAuth/CodesPage.js +++ b/src/pages/settings/Security/TwoFactorAuth/CodesPage.js @@ -98,6 +98,7 @@ function CodesPage(props) { { diff --git a/src/pages/settings/Security/TwoFactorAuth/VerifyPage.js b/src/pages/settings/Security/TwoFactorAuth/VerifyPage.js index d3a53a0a03be..7336705f2260 100644 --- a/src/pages/settings/Security/TwoFactorAuth/VerifyPage.js +++ b/src/pages/settings/Security/TwoFactorAuth/VerifyPage.js @@ -125,6 +125,7 @@ function VerifyPage(props) { {Boolean(props.account.twoFactorAuthSecretKey) && {splitSecretInChunks(props.account.twoFactorAuthSecretKey)}} Clipboard.setString(props.account.twoFactorAuthSecretKey)}