From 31b6774f4ef3709ab413934b9538f931212d7276 Mon Sep 17 00:00:00 2001 From: Badi Ifaoui Date: Tue, 4 Jul 2023 07:46:42 +0100 Subject: [PATCH] fix: scan qr code translation --- src/popup/components/Modals/AirGapSignTransaction.vue | 4 ++-- src/popup/components/Modals/QrCodeReader.vue | 3 +++ src/popup/components/TransferRawTxReview.vue | 2 +- src/popup/locales/en.json | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/popup/components/Modals/AirGapSignTransaction.vue b/src/popup/components/Modals/AirGapSignTransaction.vue index bfbf9039f..17f3675e5 100644 --- a/src/popup/components/Modals/AirGapSignTransaction.vue +++ b/src/popup/components/Modals/AirGapSignTransaction.vue @@ -88,8 +88,8 @@ export default defineComponent({ async function scanSignedTransaction() { const scanResult: IACMessageDefinitionObjectV3[] = await openModal(MODAL_READ_QR_CODE, { - heading: root.$t('modals.importAirGapAccount.scanTitle'), - title: root.$t('modals.importAirGapAccount.scanDescription'), + heading: root.$t('modals.scanAirGapTx.heading'), + title: root.$t('modals.scanAirGapTx.title'), icon: 'critical', }); diff --git a/src/popup/components/Modals/QrCodeReader.vue b/src/popup/components/Modals/QrCodeReader.vue index 62f55e175..91d59d198 100644 --- a/src/popup/components/Modals/QrCodeReader.vue +++ b/src/popup/components/Modals/QrCodeReader.vue @@ -10,6 +10,9 @@
+
+ {{ heading }} +
{{ title }} {{ $t('modals.qrCodeReader.grantPermission') }} diff --git a/src/popup/components/TransferRawTxReview.vue b/src/popup/components/TransferRawTxReview.vue index 7443c2751..c5c35252f 100644 --- a/src/popup/components/TransferRawTxReview.vue +++ b/src/popup/components/TransferRawTxReview.vue @@ -34,7 +34,7 @@