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;
}
<div id="upload_modal" class="modal">
<div class="modal-content">
- <h4>[% 'Uploading' | $T8 %]</h4>
+ <h4>[% 'Uploading Data' | $T8 %]</h4>
<div id="upload_progress" class="progress">
<div class="indeterminate"></div>