skip index.json

This commit is contained in:
booploops 2022-12-01 15:50:16 -08:00
parent b14f564feb
commit 3ad6fcec17
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 94f9039f8d646a0023a69cd37ebb7ec529bdb7aa
Subproject commit 1d3a1f7c11457dddcbcb2049ff444853dad49dc3

View file

@ -1045,6 +1045,7 @@ export class BrowserWindow {
i18nListing = [];
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]));
const i18n: { [index: string]: Object } = JSON.parse(readFileSync(join(utils.getPath("i18nPath"), i18nFiles[i]), "utf8"));
i18nListing.push({