diff --git a/components/ProfileShare.vue b/components/ProfileShare.vue index 5a1d26362..2f5e4d222 100644 --- a/components/ProfileShare.vue +++ b/components/ProfileShare.vue @@ -10,7 +10,12 @@
- + + user.qr.header + + @@ -22,6 +27,11 @@ export default { props: { user: { required: true }, - } + }, + data() { + return { + showQr: false, + } + }, } diff --git a/locale/_base/translations.suml b/locale/_base/translations.suml index b61155bdd..3aa1804f0 100644 --- a/locale/_base/translations.suml +++ b/locale/_base/translations.suml @@ -572,6 +572,7 @@ user: disable: 'Disable MFA' disableConfirm: 'Are you sure you want to disable MFA?' qr: + header: 'QR code' download: 'Download QR code' profile: diff --git a/locale/en/translations.suml b/locale/en/translations.suml index 0ca8dcb49..93a8fe401 100644 --- a/locale/en/translations.suml +++ b/locale/en/translations.suml @@ -665,6 +665,7 @@ user: If you don't want to keep your account, you don't need to do anything. cta: 'Create a card' qr: + header: 'QR code' download: 'Download QR code' profile: diff --git a/locale/expectedTranslations.js b/locale/expectedTranslations.js index 7c8f1b814..cc9906a6d 100644 --- a/locale/expectedTranslations.js +++ b/locale/expectedTranslations.js @@ -48,5 +48,6 @@ export default [ 'footer.stats.keys.responseTime', 'privacy.header', 'user.avatar.failed', + 'user.qr.header', 'user.qr.download', ]; diff --git a/locale/pl/translations.suml b/locale/pl/translations.suml index a730744f8..5e79c6fc6 100644 --- a/locale/pl/translations.suml +++ b/locale/pl/translations.suml @@ -1310,6 +1310,7 @@ user: disable: 'Wyłącz MFA' disableConfirm: 'Czy na pewno chcesz wyłączyć MFA?' qr: + header: 'Kod QR' download: 'Pobierz kod QR' profile: