Bug 14322: (follow-up) Make 'Copied!' tooltip translatable

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Brendan Lawlor 2024-08-26 14:49:01 +00:00 committed by Katrin Fischer
parent b54d5cdcee
commit 2ce64d6901
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@
})
var url = window.location.origin + window.location.pathname + '?' + $.param(params);
navigator.clipboard.writeText(url);
$(this).tooltip({trigger: 'manual', title: 'Copied!'}).tooltip('show');
$(this).tooltip({trigger: 'manual', title: _('Copied!')}).tooltip('show');
});
var results_heading = $('<div>').addClass('results-heading')