mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
French re-translation.
This commit is contained in:
parent
ed8ef50f1b
commit
cd493c9f96
12 changed files with 1790 additions and 1749 deletions
|
@ -556,7 +556,8 @@ function translate(lang, langFile, sources, createSubDir) {
|
|||
|
||||
// Load the language file
|
||||
var langFileData = null;
|
||||
try { langFileData = JSON.parse(fs.readFileSync(langFile)); } catch (ex) { }
|
||||
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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue