From 015e2e844dbfd8a3885696978c98b49ffa956c73 Mon Sep 17 00:00:00 2001 From: Nivesh Krishna Date: Wed, 19 Oct 2022 11:36:20 +0530 Subject: [PATCH] move translation to vue --- src/App.vue | 2 ++ src/main.html | 4 ++-- translationfiles/templates/email-recovery.pot | 14 ++++++++------ 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/App.vue b/src/App.vue index abad15b..2626427 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,6 +13,8 @@ export default { errorKey: '', showConfirmation: false, showError: false, + placeholder: t('email-recovery', 'Recovery Email'), + value: t('email-recovery', 'Change Recovery Email'), } }, mounted() { diff --git a/src/main.html b/src/main.html index 7d013cf..a511ca8 100644 --- a/src/main.html +++ b/src/main.html @@ -6,14 +6,14 @@ - {% const placeholder = t('email-recovery', 'Recovery Email') %} + - {% const value = t('email-recovery', 'Change Recovery Email') %} + \n" "Language-Team: LANGUAGE \n" @@ -33,17 +33,19 @@ msgstr "" msgid "Email Recovery App" msgstr "" +#. TRANSLATORS src/App.vue:16 +#: /home/nivesh/Desktop/repos/email-recovery/specialVueFakeDummyForL10nScript.js:2 #: /home/nivesh/Desktop/repos/email-recovery/src/main.html:3 -#: /home/nivesh/Desktop/repos/email-recovery/src/main.html:9 msgid "Recovery Email" msgstr "" -#: /home/nivesh/Desktop/repos/email-recovery/src/main.html:7 -msgid "Recovery Email " +#. TRANSLATORS src/App.vue:17 +#: /home/nivesh/Desktop/repos/email-recovery/specialVueFakeDummyForL10nScript.js:4 +msgid "Change Recovery Email" msgstr "" -#: /home/nivesh/Desktop/repos/email-recovery/src/main.html:16 -msgid "Change Recovery Email" +#: /home/nivesh/Desktop/repos/email-recovery/src/main.html:7 +msgid "Recovery Email " msgstr "" #: /home/nivesh/Desktop/repos/email-recovery/src/main.html:23 -- GitLab