Fixed minification.

Ylian Saint-Hilaire committed Feb 20, 2021 at 21:15 UTC d97aecab90e9527c090bc1dc587af7d3caf286a4
3 files changed +4 -3
translate/translate.js
+1
@@ -64,6 +64,7 @@ var minifyMeshCentralSourceFiles = [
64 "../views/error4042.handlebars",
65 "../views/error404-mobile.handlebars",
66 "../views/login.handlebars",
67 + "../views/login2.handlebars",
68 "../views/login-mobile.handlebars",
69 "../views/terms.handlebars",
70 "../views/terms-mobile.handlebars",
views/default-mobile.handlebars
+1 -1
@@ -5440,7 +5440,7 @@
5440 "SMS error: {0}"
5441 ];
5442 if (typeof n.titleid == 'number') { try { n.title = translatedTitles[n.titleid]; } catch (ex) { } }
5443 - if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { n.text = format(n.text, ...n.args); } } catch (ex) { } }
5443 + if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { n.text = format(n.text, n.args[0], n.args[1], n.args[2], n.args[3], n.args[4], n.args[5]); } } catch (ex) { } }
5444
5445 // Show notification within the web page.
5446 if (n.time == null) { n.time = Date.now(); }
views/default.handlebars
+2 -2
@@ -13569,7 +13569,7 @@
13569 "SMS error: {0}"
13570 ];
13571 if (typeof n.titleid == 'number') { try { n.title = translatedTitles[n.titleid]; } catch (ex) {} }
13572 - if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { n.text = format(n.text, ...n.args); } } catch (ex) {} }
13572 + if (typeof n.msgid == 'number') { try { n.text = translatedMessages[n.msgid]; if (Array.isArray(n.args)) { n.text = format(n.text, n.args[0], n.args[1], n.args[2], n.args[3], n.args[4], n.args[5]); } } catch (ex) { } }
13573
13574 // Show notification within the web page.
13575 if (n.time == null) { n.time = Date.now(); }
@@ -14517,7 +14517,7 @@
14517 var base64 = (base64String + padding).replace(/-/g, '+').replace(/_/g, '/');
14518 var rawData = atob(base64);
14519 var outputArray = new Uint8Array(rawData.length);
14520 - for (let i = 0; i < rawData.length; ++i) { outputArray[i] = rawData.charCodeAt(i); }
14520 + for (var i = 0; i < rawData.length; ++i) { outputArray[i] = rawData.charCodeAt(i); }
14521 return outputArray;
14522 }
14523