diff --git a/src/nginxconfig/i18n/de/templates/app.js b/src/nginxconfig/i18n/de/templates/app.js index d88b462..bdce81a 100644 --- a/src/nginxconfig/i18n/de/templates/app.js +++ b/src/nginxconfig/i18n/de/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/en/templates/app.js b/src/nginxconfig/i18n/en/templates/app.js index 1a1764b..66fbfc1 100644 --- a/src/nginxconfig/i18n/en/templates/app.js +++ b/src/nginxconfig/i18n/en/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/es/templates/app.js b/src/nginxconfig/i18n/es/templates/app.js index a3027df..d10755b 100644 --- a/src/nginxconfig/i18n/es/templates/app.js +++ b/src/nginxconfig/i18n/es/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/fr/templates/app.js b/src/nginxconfig/i18n/fr/templates/app.js index 7066bb3..3d51651 100644 --- a/src/nginxconfig/i18n/fr/templates/app.js +++ b/src/nginxconfig/i18n/fr/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/pl/templates/app.js b/src/nginxconfig/i18n/pl/templates/app.js index 947233a..137fe14 100644 --- a/src/nginxconfig/i18n/pl/templates/app.js +++ b/src/nginxconfig/i18n/pl/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/pt-br/templates/app.js b/src/nginxconfig/i18n/pt-br/templates/app.js index 8f5104a..0300223 100644 --- a/src/nginxconfig/i18n/pt-br/templates/app.js +++ b/src/nginxconfig/i18n/pt-br/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/ru/templates/app.js b/src/nginxconfig/i18n/ru/templates/app.js index 08a6def..119b77f 100644 --- a/src/nginxconfig/i18n/ru/templates/app.js +++ b/src/nginxconfig/i18n/ru/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2021 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/i18n/zh-cn/templates/app.js b/src/nginxconfig/i18n/zh-cn/templates/app.js index d39209a..14b37bc 100644 --- a/src/nginxconfig/i18n/zh-cn/templates/app.js +++ b/src/nginxconfig/i18n/zh-cn/templates/app.js @@ -1,5 +1,5 @@ /* -Copyright 2020 DigitalOcean +Copyright 2022 DigitalOcean This code is licensed under the MIT License. You may obtain a copy of the License at diff --git a/src/nginxconfig/templates/setup.vue b/src/nginxconfig/templates/setup.vue index 6dcf11b..88fa3f4 100644 --- a/src/nginxconfig/templates/setup.vue +++ b/src/nginxconfig/templates/setup.vue @@ -151,9 +151,9 @@ THE SOFTWARE. }, setupCopy(elm) { - const resetText = () => { + const resetText = (originalText) => { setTimeout(() => { - elm.textContent = this.$t('templates.setup.copyBase64'); + elm.textContent = originalText; }, 5000); }; @@ -162,9 +162,10 @@ THE SOFTWARE. }); clipboard.on('success', e => { + const originalTextCopy = elm.textContent; elm.textContent = this.$tm('templates.app.copied'); e.clearSelection(); - resetText(); + resetText(originalTextCopy); }); clipboard.on('error', () => {