From ae5bf25e08bbf65ee94e11f5e76010360282b215 Mon Sep 17 00:00:00 2001 From: Estee Date: Thu, 3 Aug 2023 09:58:22 -0700 Subject: [PATCH] chore(en.json): add export_section_label key for export section label refactor(App.vue): update export section label to use the new export_section_label key from en.json refactor(StyledQRCode.vue): update default width and height values to 200 --- locales/en.json | 1 + src/App.vue | 3 +-- src/components/StyledQRCode.vue | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/locales/en.json b/locales/en.json index 7f5df40..0cedb2e 100644 --- a/locales/en.json +++ b/locales/en.json @@ -6,6 +6,7 @@ "data_placeholder": "data to encode e.g. a URL or a string", "image_label": "Logo image URL", "copy_clipboard": "Copy QR Code to clipboard", + "export_section_label": "Export as", "download_qr_code_png": "Download QR Code as PNG", "download_qr_code_svg": "Download QR Code as SVG", "upload_image": "Upload image", diff --git a/src/App.vue b/src/App.vue index 8e0d261..c492827 100644 --- a/src/App.vue +++ b/src/App.vue @@ -379,9 +379,8 @@ function uploadImage() {

{{ $t('load_qr_code') }}

-
-

{{ $t('Export as') }}

+

{{ $t('export_section_label') }}