Fix: remove unneeded translation download, fix PDF-export

This commit is contained in:
Pieter Vander Vennet 2023-09-20 23:35:00 +02:00
parent 3a77c6f33e
commit 1930f7bb53

View file

@ -679,13 +679,6 @@ class SvgToPdfPage {
".json",
24 * 60 * 60 * 1000
)
const shared_questions = await Utils.downloadJsonCached(
"https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/langs/shared-questions/" +
language +
".json",
24 * 60 * 60 * 1000
)
this.layerTranslations[language]["shared-questions"] = shared_questions["shared_questions"]
}
public async Prepare() {