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',
setup: 'Setup',
configFiles: 'Konfigurationsdateien',
copied: 'Gekopieerd',
copied: 'kopiert',
};

View File

@ -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);
});