1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Updated MeshAgent on all platforms.

This commit is contained in:
Ylian Saint-Hilaire 2020-11-11 00:28:53 -08:00
parent 3e537ae8df
commit bf7b1ffd60
34 changed files with 41 additions and 84 deletions

View file

@ -557,7 +557,6 @@ function translate(lang, langFile, sources, createSubDir) {
// Load the language file
var langFileData = null;
try { langFileData = JSON.parse(fs.readFileSync(langFile)); } catch (ex) { console.log(ex); }
console.log('langFileData', langFileData);
if ((langFileData == null) || (langFileData.strings == null)) { log("Invalid language file."); process.exit(); return; }
langs = {};