From c814fdc41252c121f210f4cb616d5261939f59b1 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 13 Oct 2021 11:04:02 -0700 Subject: [PATCH] Fixed typo, #3190. --- agents/meshinstall-linux.js | 2 +- emails/device-notify.html | 2 +- emails/device-notify.txt | 2 +- meshcentral.js | 2 +- translate/translate.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/agents/meshinstall-linux.js b/agents/meshinstall-linux.js index 5bd8d45d..723fb6fd 100644 --- a/agents/meshinstall-linux.js +++ b/agents/meshinstall-linux.js @@ -40,7 +40,7 @@ Object.defineProperty(Array.prototype, 'getParameter', } }); -// The folloing line just below with 'msh=' needs to stay exactly like this since MeshCentral will replace it with the correct settings. +// The following line just below with 'msh=' needs to stay exactly like this since MeshCentral will replace it with the correct settings. var msh = {}; var translation = JSON.parse(msh.translation); diff --git a/emails/device-notify.html b/emails/device-notify.html index e4974408..e19c03a0 100644 --- a/emails/device-notify.html +++ b/emails/device-notify.html @@ -9,7 +9,7 @@

- The folloing devices have changed their connection state. + The following devices have changed their connection state.

diff --git a/emails/device-notify.txt b/emails/device-notify.txt index 22799dbb..ed4a6ac5 100644 --- a/emails/device-notify.txt +++ b/emails/device-notify.txt @@ -1,6 +1,6 @@ [[[SERVERNAME]]] - Device Notification ~ -The folloing devices have changed their connection state. +The following devices have changed their connection state. ~ ~ ~ diff --git a/meshcentral.js b/meshcentral.js index 3ee742a7..14eb78e6 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -2851,7 +2851,7 @@ function CreateMeshCentralServer(config, args) { obj.fs.readFile(amtlogfilename, 'utf8', function (err, data) { var amtPasswords = {}; // UUID --> [Passwords] if ((err == null) && (data != null)) { - const lines = data.split('\r\n').join('\n').split('\n'); + const lines = data.split('\n'); for (var i in lines) { var line = lines[i]; if (line.startsWith('{')) { diff --git a/translate/translate.json b/translate/translate.json index 48c7184b..eb77c928 100644 --- a/translate/translate.json +++ b/translate/translate.json @@ -56369,7 +56369,7 @@ ] }, { - "en": "The folloing devices have changed their connection state.", + "en": "The following devices have changed their connection state.", "xloc": [ "device-notify.html->2->3->1", "device-notify.txt"