#85773 locales updated

This commit is contained in:
Valery Kovalev 2021-04-30 17:55:47 +03:00
parent 4fa7762810
commit e947ca94be
3 changed files with 6 additions and 2 deletions

View File

@ -27,4 +27,6 @@ THE SOFTWARE.
export default { export default {
downloadConfig: 'Download Config', downloadConfig: 'Download Config',
copyBase64: 'Copy Base64', copyBase64: 'Copy Base64',
copied: 'Copied',
press_to_copy: 'Press Ctrl+C to copy',
}; };

View File

@ -27,4 +27,6 @@ THE SOFTWARE.
export default { export default {
downloadConfig: 'Скачать конфигурацию', downloadConfig: 'Скачать конфигурацию',
copyBase64: 'Копировать Base64', copyBase64: 'Копировать Base64',
copied: 'Скопировано',
press_to_copy: 'Нажмите Ctrl+C чтобы скопировать',
}; };

View File

@ -164,13 +164,13 @@ THE SOFTWARE.
}); });
clipboard.on('success', e => { clipboard.on('success', e => {
elm.textContent = 'Copied'; elm.textContent = this.$t('templates.setup.copied');
e.clearSelection(); e.clearSelection();
resetText(); resetText();
}); });
clipboard.on('error', () => { clipboard.on('error', () => {
elm.textContent = 'Press Ctrl + C to copy'; elm.textContent = this.$t('templates.setup.press_to_copy');
resetText(); resetText();
}); });
}, },