Resolving typos in the component and i18n
This commit is contained in:
parent
a049a7c61e
commit
d9172e5958
|
@ -36,5 +36,5 @@ export default {
|
||||||
globalConfig: 'Globale Konfiguration',
|
globalConfig: 'Globale Konfiguration',
|
||||||
setup: 'Setup',
|
setup: 'Setup',
|
||||||
configFiles: 'Konfigurationsdateien',
|
configFiles: 'Konfigurationsdateien',
|
||||||
copied: 'Gekopieerd',
|
copied: 'kopiert',
|
||||||
};
|
};
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue