Updating background progressing string for i18n

This commit is contained in:
2026-05-13 07:11:55 +02:00
parent 0b88e5c0e4
commit d56922c24e
5 changed files with 12 additions and 6 deletions

View File

@@ -1687,9 +1687,9 @@ window.initUploadForm = (selector) => {
successCount++;
lastData = res;
if (res.pending) {
// Background URL download — show toast using server's message
// Background URL download — show i18n toast
if (typeof window.flashMessage === 'function') {
window.flashMessage(res.msg, 4000, 'info');
window.flashMessage(window.f0ckI18n?.upload_url_queued_background || res.msg, 4000, 'info');
}
}
if (res.itemid) {