Remove translations of commissioned themes as these don't need to be translated

This commit is contained in:
Pieter Vander Vennet 2022-01-21 14:57:49 +01:00
parent 6230bd40a3
commit 792631e91e
7 changed files with 1 additions and 33 deletions

View file

@ -406,7 +406,7 @@ if (!themeOverwritesWeblate) {
console.log("Ignore weblate")
}
generateTranslationsObjectFrom(ScriptUtils.getLayerFiles(), "layers")
generateTranslationsObjectFrom(ScriptUtils.getThemeFiles(), "themes")
generateTranslationsObjectFrom(ScriptUtils.getThemeFiles().filter(th => th.parsed.mustHaveLanguage === undefined), "themes")
generateTranslationsObjectFrom([{path: questionsPath, parsed: questionsParsed}], "shared-questions")