forked from MapComplete/MapComplete
Small fixes
This commit is contained in:
parent
092a627b64
commit
95f421a6ae
5 changed files with 17 additions and 9 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue