From 954eaad4461d4d818f116bd5fef92af6ed0e702a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Tue, 26 Sep 2023 14:14:50 +0200 Subject: [PATCH] Put the QR code scanner in a modal --- src/locales/en.json | 1 + src/locales/fr.json | 1 + src/views/AddAccountView.vue | 31 ++++++++++++++++++++++++++++--- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 2a92660..78fe664 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -32,6 +32,7 @@ "domainName": "Domain name", "privateKey": "Private key", "scan": "Scan", + "scanTitle": "Scan a QR code", "addAccount": "Add account", "cancel": "@:invariants.controls.cancel", "error": { diff --git a/src/locales/fr.json b/src/locales/fr.json index 8791722..c6544e8 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -32,6 +32,7 @@ "domainName": "Nom de domaine", "privateKey": "Clé privée", "scan": "Scanner", + "scanTitle": "Scanner un QR code", "addAccount": "Ajouter", "cancel": "@:invariants.controls.cancel", "error": { diff --git a/src/views/AddAccountView.vue b/src/views/AddAccountView.vue index d2baad0..e9f1af9 100644 --- a/src/views/AddAccountView.vue +++ b/src/views/AddAccountView.vue @@ -1,9 +1,10 @@