Small fixes

This commit is contained in:
Pieter Vander Vennet 2021-05-20 12:27:33 +02:00
parent 092a627b64
commit 95f421a6ae
5 changed files with 17 additions and 9 deletions

View file

@ -165,7 +165,7 @@ function genTranslations() {
// Read 'lang/*.json', writes to 'assets/generated/translations.json'
function compileTranslationsFromWeblate() {
const translations = ScriptUtils.readDirRecSync("./langs")
const translations = ScriptUtils.readDirRecSync("./langs", 1)
.filter(path => path.indexOf(".json") > 0)
const allTranslations = new TranslationPart()