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',
|
||||
setup: 'Setup',
|
||||
configFiles: 'Konfigurationsdateien',
|
||||
copied: 'Gekopieerd',
|
||||
copied: 'kopiert',
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue