From 8b3bec89ced636a3340a716ecd187c8144fedc9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 25 Jun 2021 15:14:26 +0200 Subject: [PATCH] Mobile: locales --- js/kivi.ImageUpload.js | 2 +- templates/mobile_webpages/image_upload/local_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/kivi.ImageUpload.js b/js/kivi.ImageUpload.js index 25566467c..24bd26252 100644 --- a/js/kivi.ImageUpload.js +++ b/js/kivi.ImageUpload.js @@ -76,7 +76,7 @@ namespace("kivi.ImageUpload", function(ns) { myfiles.forEach(file => filesize += file.size); if (filesize > maxsize) { - M.flash(kivi.t8("filesize too big: ") + ns.format_si(filesize) + kivi.t8(" > ") + ns.format_si(maxsize)); + M.flash(kivi.t8("filesize too big: ") + ns.format_si(filesize) + " > " + ns.format_si(maxsize)); $("#upload_modal").modal("close"); return; } diff --git a/templates/mobile_webpages/image_upload/local_list.html b/templates/mobile_webpages/image_upload/local_list.html index 9aad15df4..430526003 100644 --- a/templates/mobile_webpages/image_upload/local_list.html +++ b/templates/mobile_webpages/image_upload/local_list.html @@ -54,7 +54,7 @@