From 1930f7bb53f4d477c2529471b478db77ddcc012b Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 20 Sep 2023 23:35:00 +0200 Subject: [PATCH] Fix: remove unneeded translation download, fix PDF-export --- src/Utils/svgToPdf.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Utils/svgToPdf.ts b/src/Utils/svgToPdf.ts index 4bbc9e594e..0ae2399921 100644 --- a/src/Utils/svgToPdf.ts +++ b/src/Utils/svgToPdf.ts @@ -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() {