skip index.json
This commit is contained in:
parent
b14f564feb
commit
3ad6fcec17
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 94f9039f8d646a0023a69cd37ebb7ec529bdb7aa
|
Subproject commit 1d3a1f7c11457dddcbcb2049ff444853dad49dc3
|
|
@ -1045,6 +1045,7 @@ export class BrowserWindow {
|
||||||
i18nListing = [];
|
i18nListing = [];
|
||||||
|
|
||||||
for (let i = 0; i < i18nFiles.length; i++) {
|
for (let i = 0; i < i18nFiles.length; i++) {
|
||||||
|
if(i18nFiles[i] == "index.json") continue;
|
||||||
console.debug("[i18n] Processing file: " + join(utils.getPath("i18nPath"), i18nFiles[i]));
|
console.debug("[i18n] Processing file: " + join(utils.getPath("i18nPath"), i18nFiles[i]));
|
||||||
const i18n: { [index: string]: Object } = JSON.parse(readFileSync(join(utils.getPath("i18nPath"), i18nFiles[i]), "utf8"));
|
const i18n: { [index: string]: Object } = JSON.parse(readFileSync(join(utils.getPath("i18nPath"), i18nFiles[i]), "utf8"));
|
||||||
i18nListing.push({
|
i18nListing.push({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue