diff --git a/language/LocaleLoader.js b/language/LocaleLoader.js index 627b213..0486838 100644 --- a/language/LocaleLoader.js +++ b/language/LocaleLoader.js @@ -50,7 +50,7 @@ class LocaleLoader { loadFile(file) { - if (process.platform === 'linux') file = file.replace('\r', ''); + if (process.platform === 'linux') file = file.replace('\r', '\n'); const lines = file.split('\n'); const parsed = {}; @@ -80,6 +80,7 @@ class LocaleLoader { // console.log(String.raw`${value}`); } + console.log(parsed); return parsed; }