feat: Add translate for new functions

This commit is contained in:
Ivan K
2024-12-13 16:04:06 +03:00
parent 8b1da669bd
commit 7373b76a8e
3 changed files with 79 additions and 3 deletions

View File

@@ -683,7 +683,6 @@ return view.extend({
textarea.select();
try {
document.execCommand('copy');
ui.addNotification(null, E('p', {}, _('Results copied to clipboard')));
} catch (err) {
ui.addNotification(null, E('p', {}, _('Failed to copy: ') + err.message));
}
@@ -745,7 +744,6 @@ return view.extend({
textarea.select();
try {
document.execCommand('copy');
ui.addNotification(null, E('p', {}, _('Logs copied to clipboard')));
} catch (err) {
ui.addNotification(null, E('p', {}, _('Failed to copy: ') + err.message));
}