add alert box message for translations

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Dec 14, 2023 at 15:51 UTC 4cad78061391e78925c3c5ccdc47ad57e4e72f58
2 files changed +3 -2
agents/meshcore.js
+1 -1
@@ -1469,7 +1469,7 @@ function handleServerCommand(data) {
1469 case 'alertbox': {
1470 // Display an old style alert box
1471 if (data.title && data.msg) {
1472 - MeshServerLogEx(18, [data.title, data.msg], "Displaying alert box, title=" + data.title + ", message=" + data.msg, data);
1472 + MeshServerLogEx(158, [data.title, data.msg], "Displaying alert box, title=" + data.title + ", message=" + data.msg, data);
1473 try { require('message-box').create(data.title, data.msg, 9999, 1).then(function () { }).catch(function () { }); } catch (ex) { }
1474 }
1475 break;
views/default.handlebars
+2 -1
@@ -14697,7 +14697,8 @@
14697 154: "Account changed to sync with LDAP data.",
14698 155: "Denied user login from {0}, {1}, {2}",
14699 156: "Verified messaging account of user {0}",
14700 - 157: "Removed messaging account of user {0}"
14700 + 157: "Removed messaging account of user {0}",
14701 + 158: "Displaying alert box, title=\"{0}\", message=\"{1}\""
14702 };
14703
14704 var eventsShortMessageId = {