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) {

View File

@@ -67,7 +67,8 @@
"item_comment_placeholder": "Kommentar (optional)...",
"item_tags_placeholder": "Tags...",
"btn_add_urls": "URL(s) hinzufügen",
"tags_required_shitpost": "Alle Beiträge benötigen Tags"
"tags_required_shitpost": "Alle Beiträge benötigen Tags",
"url_queued_background": "URL Verarbeitung im Hintergrund gestartet."
},
"auth": {
"registering": "Wird registriert...",

View File

@@ -68,7 +68,8 @@
"item_comment_placeholder": "Comment (optional)...",
"item_tags_placeholder": "Tags...",
"btn_add_urls": "Add URL(s)",
"tags_required_shitpost": "All items need tags"
"tags_required_shitpost": "All items need tags",
"url_queued_background": "URL processing started in background."
},
"auth": {
"registering": "Registering...",

View File

@@ -67,7 +67,8 @@
"item_comment_placeholder": "Opmerking (optioneel)...",
"item_tags_placeholder": "Etiketten...",
"btn_add_urls": "URL(s) toevoegen",
"tags_required_shitpost": "Alle items hebben tags nodig"
"tags_required_shitpost": "Alle items hebben tags nodig",
"url_queued_background": "URL wordt op de achtergrond verwerkt."
},
"auth": {
"registering": "Registreren...",

View File

@@ -65,7 +65,10 @@
"shitpost_success": "{n} Fetzen erfolgreich gepfeffert!",
"shitposting_status": "Wird gepfeffert",
"item_comment_placeholder": "Senf dazugeben (optional)...",
"item_tags_placeholder": "Etiketten..."
"item_tags_placeholder": "Etiketten...",
"btn_add_urls": "Elfe hinzufügen",
"tags_required_shitpost": "Alle Fetzen brauchen Etiketten",
"url_queued_background": "Elfen-Hintergrundverarbeitung gestartet."
},
"auth": {
"registering": "Registrierung wird in die Wege geleitet...",