From d9172e5958687a6606af52db7d019586f9a19c4a Mon Sep 17 00:00:00 2001 From: Raul Soledispa Date: Fri, 30 Sep 2022 15:01:50 -0500 Subject: [PATCH] Resolving typos in the component and i18n --- src/nginxconfig/i18n/de/templates/app.js | 2 +- src/nginxconfig/templates/setup.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nginxconfig/i18n/de/templates/app.js b/src/nginxconfig/i18n/de/templates/app.js index bdce81a..eed31c9 100644 --- a/src/nginxconfig/i18n/de/templates/app.js +++ b/src/nginxconfig/i18n/de/templates/app.js @@ -36,5 +36,5 @@ export default { globalConfig: 'Globale Konfiguration', setup: 'Setup', configFiles: 'Konfigurationsdateien', - copied: 'Gekopieerd', + copied: 'kopiert', }; diff --git a/src/nginxconfig/templates/setup.vue b/src/nginxconfig/templates/setup.vue index 88fa3f4..67d3b7d 100644 --- a/src/nginxconfig/templates/setup.vue +++ b/src/nginxconfig/templates/setup.vue @@ -150,7 +150,6 @@ THE SOFTWARE. return this.tarContents().base64(path); }, setupCopy(elm) { - const resetText = (originalText) => { setTimeout(() => { elm.textContent = originalText; @@ -163,7 +162,7 @@ THE SOFTWARE. clipboard.on('success', e => { const originalTextCopy = elm.textContent; - elm.textContent = this.$tm('templates.app.copied'); + elm.textContent = this.$t('templates.app.copied'); e.clearSelection(); resetText(originalTextCopy); });