mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-28 16:15:54 -05:00
add alert box message for translations
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
947d84316b
commit
4cad780613
@ -1469,7 +1469,7 @@ function handleServerCommand(data) {
|
|||||||
case 'alertbox': {
|
case 'alertbox': {
|
||||||
// Display an old style alert box
|
// Display an old style alert box
|
||||||
if (data.title && data.msg) {
|
if (data.title && data.msg) {
|
||||||
MeshServerLogEx(18, [data.title, data.msg], "Displaying alert box, title=" + data.title + ", message=" + data.msg, data);
|
MeshServerLogEx(158, [data.title, data.msg], "Displaying alert box, title=" + data.title + ", message=" + data.msg, data);
|
||||||
try { require('message-box').create(data.title, data.msg, 9999, 1).then(function () { }).catch(function () { }); } catch (ex) { }
|
try { require('message-box').create(data.title, data.msg, 9999, 1).then(function () { }).catch(function () { }); } catch (ex) { }
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -14697,7 +14697,8 @@
|
|||||||
154: "Account changed to sync with LDAP data.",
|
154: "Account changed to sync with LDAP data.",
|
||||||
155: "Denied user login from {0}, {1}, {2}",
|
155: "Denied user login from {0}, {1}, {2}",
|
||||||
156: "Verified messaging account of user {0}",
|
156: "Verified messaging account of user {0}",
|
||||||
157: "Removed messaging account of user {0}"
|
157: "Removed messaging account of user {0}",
|
||||||
|
158: "Displaying alert box, title=\"{0}\", message=\"{1}\""
|
||||||
};
|
};
|
||||||
|
|
||||||
var eventsShortMessageId = {
|
var eventsShortMessageId = {
|
||||||
|
Loading…
Reference in New Issue
Block a user