Resolving typos in the component and i18n

This commit is contained in:
Raul Soledispa 2022-09-30 15:01:50 -05:00
parent a049a7c61e
commit d9172e5958
2 changed files with 2 additions and 3 deletions

View File

@ -36,5 +36,5 @@ export default {
globalConfig: 'Globale Konfiguration', globalConfig: 'Globale Konfiguration',
setup: 'Setup', setup: 'Setup',
configFiles: 'Konfigurationsdateien', configFiles: 'Konfigurationsdateien',
copied: 'Gekopieerd', copied: 'kopiert',
}; };

View File

@ -150,7 +150,6 @@ THE SOFTWARE.
return this.tarContents().base64(path); return this.tarContents().base64(path);
}, },
setupCopy(elm) { setupCopy(elm) {
const resetText = (originalText) => { const resetText = (originalText) => {
setTimeout(() => { setTimeout(() => {
elm.textContent = originalText; elm.textContent = originalText;
@ -163,7 +162,7 @@ THE SOFTWARE.
clipboard.on('success', e => { clipboard.on('success', e => {
const originalTextCopy = elm.textContent; const originalTextCopy = elm.textContent;
elm.textContent = this.$tm('templates.app.copied'); elm.textContent = this.$t('templates.app.copied');
e.clearSelection(); e.clearSelection();
resetText(originalTextCopy); resetText(originalTextCopy);
}); });