From 791785c6c1b7e6482f864c32c00f1dbae5e87079 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Fri, 18 Feb 2022 03:22:25 +0100 Subject: [PATCH] Translation reset --- langs/layers/ca.json | 9 --------- langs/layers/de.json | 16 ++++------------ langs/layers/en.json | 16 ++++------------ langs/layers/eo.json | 5 ----- langs/layers/fr.json | 16 ++++------------ langs/layers/hu.json | 3 --- langs/layers/id.json | 7 ------- langs/layers/it.json | 16 ++++------------ langs/layers/nl.json | 16 ++++------------ langs/layers/pt.json | 3 --- langs/layers/pt_BR.json | 3 --- langs/layers/ru.json | 8 -------- langs/layers/zh_Hant.json | 3 --- scripts/fixImagesInTagRenderings.ts | 2 +- 14 files changed, 21 insertions(+), 102 deletions(-) diff --git a/langs/layers/ca.json b/langs/layers/ca.json index dd423c59e..7c63cac57 100644 --- a/langs/layers/ca.json +++ b/langs/layers/ca.json @@ -87,14 +87,5 @@ "render": "{website}" } } - }, - "tree_node": { - "title": { - "mappings": { - "0": { - "then": "{name}" - } - } - } } } \ No newline at end of file diff --git a/langs/layers/de.json b/langs/layers/de.json index 45ae76e7e..c33afc891 100644 --- a/langs/layers/de.json +++ b/langs/layers/de.json @@ -647,9 +647,6 @@ }, "3": { "then": "Ebenerdiges Parken" - }, - "4": { - "then": "Parkplatz auf dem Dach" } }, "question": "Wo befinden sich diese Fahrradabstellplätze?" @@ -3106,7 +3103,7 @@ "tree-heritage": { "mappings": { "0": { - "then": "\"\"/ Als Denkmal registriert von der Onroerend Erfgoed Flandern" + "then": "Als Denkmal registriert von der Onroerend Erfgoed Flandern" }, "1": { "then": "Als Denkmal registriert von der Direction du Patrimoine culturel Brüssel" @@ -3126,13 +3123,13 @@ "tree-leaf_type": { "mappings": { "0": { - "then": "\"\"/ Laubbaum" + "then": "Laubbaum" }, "1": { - "then": "\"\"/ Nadelbaum" + "then": "Nadelbaum" }, "2": { - "then": "\"\"/ Dauerhaft blattlos" + "then": "Dauerhaft blattlos" } }, "question": "Ist dies ein Laub- oder Nadelbaum?" @@ -3155,11 +3152,6 @@ } }, "title": { - "mappings": { - "0": { - "then": "{name}" - } - }, "render": "Baum" } }, diff --git a/langs/layers/en.json b/langs/layers/en.json index 821f2d172..3f2c06425 100644 --- a/langs/layers/en.json +++ b/langs/layers/en.json @@ -760,9 +760,6 @@ }, "3": { "then": "Surface level parking" - }, - "4": { - "then": "Rooftop parking" } }, "question": "What is the relative location of this bicycle parking?" @@ -4897,7 +4894,7 @@ "tree-heritage": { "mappings": { "0": { - "then": "\"\"/ Registered as heritage by Onroerend Erfgoed Flanders" + "then": "Registered as heritage by Onroerend Erfgoed Flanders" }, "1": { "then": "Registered as heritage by Direction du Patrimoine culturel Brussels" @@ -4917,13 +4914,13 @@ "tree-leaf_type": { "mappings": { "0": { - "then": "\"\"/ Broadleaved" + "then": "Broadleaved" }, "1": { - "then": "\"\"/ Needleleaved" + "then": "Needleleaved" }, "2": { - "then": "\"\"/ Permanently leafless" + "then": "Permanently leafless" } }, "question": "Is this a broadleaved or needleleaved tree?" @@ -4947,11 +4944,6 @@ } }, "title": { - "mappings": { - "0": { - "then": "{name}" - } - }, "render": "Tree" } }, diff --git a/langs/layers/eo.json b/langs/layers/eo.json index 6d97c7fc1..63d58d4a4 100644 --- a/langs/layers/eo.json +++ b/langs/layers/eo.json @@ -162,11 +162,6 @@ } }, "title": { - "mappings": { - "0": { - "then": "{name}" - } - }, "render": "Arbo" } }, diff --git a/langs/layers/fr.json b/langs/layers/fr.json index 71ffa74c1..c802184b5 100644 --- a/langs/layers/fr.json +++ b/langs/layers/fr.json @@ -612,9 +612,6 @@ }, "3": { "then": "Parking en surface" - }, - "4": { - "then": "Parking sur un toit" } }, "question": "Quelle est la position relative de ce parking à vélo ?" @@ -2302,7 +2299,7 @@ "tree-heritage": { "mappings": { "0": { - "then": "\"\"/ Fait partie du patrimoine par Onroerend Erfgoed" + "then": "Fait partie du patrimoine par Onroerend Erfgoed" }, "1": { "then": "Enregistré comme patrimoine par la Direction du Patrimoine culturel Bruxelles" @@ -2322,13 +2319,13 @@ "tree-leaf_type": { "mappings": { "0": { - "then": "\"\"/ Feuillu" + "then": "Feuillu" }, "1": { - "then": "\"\"/ Résineux" + "then": "Résineux" }, "2": { - "then": "\"\"/ Sans feuilles (Permanent)" + "then": "Sans feuilles (Permanent)" } }, "question": "Cet arbre est-il un feuillu ou un résineux ?" @@ -2352,11 +2349,6 @@ } }, "title": { - "mappings": { - "0": { - "then": "{name}" - } - }, "render": "Arbre" } }, diff --git a/langs/layers/hu.json b/langs/layers/hu.json index cb169733f..6cbee3e47 100644 --- a/langs/layers/hu.json +++ b/langs/layers/hu.json @@ -433,9 +433,6 @@ }, "3": { "then": "Felszíni parkoló" - }, - "4": { - "then": "Tetőparkoló" } } } diff --git a/langs/layers/id.json b/langs/layers/id.json index 45e5e997d..d697ec9b1 100644 --- a/langs/layers/id.json +++ b/langs/layers/id.json @@ -357,13 +357,6 @@ "tree_node-name": { "render": "Nama: {name}" } - }, - "title": { - "mappings": { - "0": { - "then": "{name}" - } - } } }, "viewpoint": { diff --git a/langs/layers/it.json b/langs/layers/it.json index 9ce9dec7e..29a38b616 100644 --- a/langs/layers/it.json +++ b/langs/layers/it.json @@ -492,9 +492,6 @@ }, "3": { "then": "Parcheggio in superficie" - }, - "4": { - "then": "Parcheggio sul tetto" } }, "question": "Qual è la posizione relativa di questo parcheggio bici?" @@ -1926,7 +1923,7 @@ "tree-heritage": { "mappings": { "0": { - "then": "\"\"/Registrato come patrimonio da Onroerend Erfgoed Flanders" + "then": "Registrato come patrimonio da Onroerend Erfgoed Flanders" }, "1": { "then": "Registrato come patrimonio da Direction du Patrimoine culturel di Bruxelles" @@ -1946,13 +1943,13 @@ "tree-leaf_type": { "mappings": { "0": { - "then": "\"\"/ Latifoglia" + "then": "Latifoglia" }, "1": { - "then": "\"\"/ Aghifoglia" + "then": "Aghifoglia" }, "2": { - "then": "\"\"/ Privo di foglie (permanente)" + "then": "Privo di foglie (permanente)" } }, "question": "Si tratta di un albero latifoglia o aghifoglia?" @@ -1976,11 +1973,6 @@ } }, "title": { - "mappings": { - "0": { - "then": "{name}" - } - }, "render": "Albero" } }, diff --git a/langs/layers/nl.json b/langs/layers/nl.json index 045a53413..64ec83bbe 100644 --- a/langs/layers/nl.json +++ b/langs/layers/nl.json @@ -760,9 +760,6 @@ }, "3": { "then": "Parking op de begane grond" - }, - "4": { - "then": "Dakparking" } }, "question": "Wat is de relatieve locatie van deze parking??" @@ -4689,7 +4686,7 @@ "tree-heritage": { "mappings": { "0": { - "then": "\"\"/ Erkend als houtig erfgoed door Onroerend Erfgoed Vlaanderen" + "then": "Erkend als houtig erfgoed door Onroerend Erfgoed Vlaanderen" }, "1": { "then": "Erkend als natuurlijk erfgoed door Directie Cultureel Erfgoed Brussel" @@ -4709,13 +4706,13 @@ "tree-leaf_type": { "mappings": { "0": { - "then": "\"\"/ Loofboom" + "then": "Loofboom" }, "1": { - "then": "\"\"/ Naaldboom" + "then": "Naaldboom" }, "2": { - "then": "\"\"/ Permanent bladloos" + "then": "Permanent bladloos" } }, "question": "Is dit een naald- of loofboom?" @@ -4739,11 +4736,6 @@ } }, "title": { - "mappings": { - "0": { - "then": "{name}" - } - }, "render": "Boom" } }, diff --git a/langs/layers/pt.json b/langs/layers/pt.json index df8d25134..e917b77e6 100644 --- a/langs/layers/pt.json +++ b/langs/layers/pt.json @@ -397,9 +397,6 @@ }, "3": { "then": "Estacionamento ao nível da superfície" - }, - "4": { - "then": "Estacionamento no telhado" } }, "question": "Qual a localização relativa deste estacionamento de bicicletas?" diff --git a/langs/layers/pt_BR.json b/langs/layers/pt_BR.json index 77f6a9cd0..0a642d9a7 100644 --- a/langs/layers/pt_BR.json +++ b/langs/layers/pt_BR.json @@ -339,9 +339,6 @@ }, "3": { "then": "Estacionamento ao nível da superfície" - }, - "4": { - "then": "Estacionamento no telhado" } }, "question": "Qual a localização relativa deste estacionamento de bicicletas?" diff --git a/langs/layers/ru.json b/langs/layers/ru.json index 18fe498cf..0d78ee075 100644 --- a/langs/layers/ru.json +++ b/langs/layers/ru.json @@ -455,9 +455,6 @@ }, "2": { "then": "Парковка на крыше" - }, - "4": { - "then": "Парковка на крыше" } } } @@ -1542,11 +1539,6 @@ } }, "title": { - "mappings": { - "0": { - "then": "{name}" - } - }, "render": "Дерево" } }, diff --git a/langs/layers/zh_Hant.json b/langs/layers/zh_Hant.json index 526b8c141..1245e609a 100644 --- a/langs/layers/zh_Hant.json +++ b/langs/layers/zh_Hant.json @@ -445,9 +445,6 @@ }, "3": { "then": "地面層停車場" - }, - "4": { - "then": "屋頂停車場" } }, "question": "這個單車停車場的相對位置是?" diff --git a/scripts/fixImagesInTagRenderings.ts b/scripts/fixImagesInTagRenderings.ts index 1a7a2dd3f..52e2d3b27 100644 --- a/scripts/fixImagesInTagRenderings.ts +++ b/scripts/fixImagesInTagRenderings.ts @@ -60,7 +60,7 @@ function main() { console.log("Fixing images in " + path) const parsed = JSON.parse(readFileSync(path, "UTF8")) const converted = new ConvertImagesToIcon(iconClass).convertStrict(parsed, "While running the fixImagesInTagRenderings-script") - writeFileSync(targetFile, JSON.stringify(converted, null, " ")) + writeFileSync(targetFile, JSON.stringify(converted, null, " ")) console.log("Written fixed version to " + targetFile) }