From b477fdfee1553b357a9f93778d3f2bff5007a043 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Wed, 6 Jul 2022 09:33:27 +0000 Subject: [PATCH] Fix double braces --- assets/layers/kerbs/kerbs.json | 4 +- assets/layers/parking/parking.json | 8 ++-- .../mapcomplete-changes.json | 39 ++++++++++++------- langs/layers/en.json | 6 +-- langs/layers/nl.json | 6 +-- 5 files changed, 38 insertions(+), 25 deletions(-) diff --git a/assets/layers/kerbs/kerbs.json b/assets/layers/kerbs/kerbs.json index a9f20f6de..777555eb0 100644 --- a/assets/layers/kerbs/kerbs.json +++ b/assets/layers/kerbs/kerbs.json @@ -150,8 +150,8 @@ "nl": "Hoe hoog is deze stoeprand?" }, "render": { - "en": "Kerb height: {{kerb:height}}", - "nl": "Stoeprandhoogte: {{kerb:height}}" + "en": "Kerb height: {kerb:height}", + "nl": "Stoeprandhoogte: {kerb:height}" }, "freeform": { "key": "kerb:height", diff --git a/assets/layers/parking/parking.json b/assets/layers/parking/parking.json index 94cbd7d8a..c1b65b255 100644 --- a/assets/layers/parking/parking.json +++ b/assets/layers/parking/parking.json @@ -139,8 +139,8 @@ "nl": "Hoeveel parkeerplaatsen voor gehandicapten zijn er op deze parking?" }, "render": { - "en": "There are {{capacity:disabled}} disabled parking spots", - "nl": "Er zijn {{capacity:disabled}} parkeerplaatsen voor gehandicapten" + "en": "There are {capacity:disabled} disabled parking spots", + "nl": "Er zijn capacity:disabled} parkeerplaatsen voor gehandicapten" } }, { @@ -176,8 +176,8 @@ "nl": "Hoeveel parkeerplaatsen zijn er op deze parking?" }, "render": { - "en": "There are {{capacity}} parking spots", - "nl": "Er zijn {{capacity}} parkeerplaatsen" + "en": "There are {capacity} parking spots", + "nl": "Er zijn {capacity} parkeerplaatsen" } } ], diff --git a/assets/themes/mapcomplete-changes/mapcomplete-changes.json b/assets/themes/mapcomplete-changes/mapcomplete-changes.json index c21ef5df7..143288b53 100644 --- a/assets/themes/mapcomplete-changes/mapcomplete-changes.json +++ b/assets/themes/mapcomplete-changes/mapcomplete-changes.json @@ -1,13 +1,16 @@ { "id": "mapcomplete-changes", "title": { - "en": "Changes made with MapComplete" + "en": "Changes made with MapComplete", + "nl": "Wijzigingen gemaakt met MapComplete" }, "shortDescription": { - "en": "Shows changes made by MapComplete" + "en": "Shows changes made by MapComplete", + "nl": "Toont wijzigingen gemaakt met MapComplete" }, "description": { - "en": "This maps shows all the changes made with MapComplete" + "en": "This maps shows all the changes made with MapComplete", + "nl": "Deze kaart toont alle wijzigingen die met MapComplete werden gemaakt" }, "maintainer": "", "icon": "./assets/svg/logo.svg", @@ -36,35 +39,41 @@ ], "title": { "render": { - "en": "Changeset for {theme}" + "en": "Changeset for {theme}", + "nl": "Wijzigingset voor {theme}" } }, "description": { - "en": "Shows all MapComplete changes" + "en": "Shows all MapComplete changes", + "nl": "Toont alle wijzigingen met MapComplete" }, "tagRenderings": [ { "id": "render_id", "render": { - "en": "Changeset {id}" + "en": "Changeset {id}", + "nl": "Wijzigingset {id}" } }, { "id": "contributor", "render": { - "en": "Change made by {_last_edit:contributor}" + "en": "Change made by {_last_edit:contributor}", + "nl": "Wijziging gemaakt door {_last_edit:contributor}" } }, { "id": "theme", "render": { - "en": "Change with theme {theme}" + "en": "Change with theme {theme}", + "nl": "Wijziging met thema {theme}" }, "mappings": [ { "if": "theme~http.*", "then": { - "en": "Change with unofficial theme {theme}" + "en": "Change with unofficial theme {theme}", + "nl": "Wijziging met officieus thema {theme}" } } ] @@ -344,7 +353,8 @@ } ], "question": { - "en": "Themename contains {search}" + "en": "Themename contains {search}", + "nl": "Themanaam bevat {search}" } } ] @@ -360,7 +370,8 @@ } ], "question": { - "en": "Made by contributor {search}" + "en": "Made by contributor {search}", + "nl": "Gemaakt door bijdrager {search}" } } ] @@ -376,7 +387,8 @@ } ], "question": { - "en": "Not made by contributor {search}" + "en": "Not made by contributor {search}", + "nl": "Niet gemaakt door bijdrager {search}" } } ] @@ -391,7 +403,8 @@ { "id": "link_to_more", "render": { - "en": "More statistics can be found here" + "en": "More statistics can be found here", + "nl": "Meer statistieken kunnen hier gevonden worden" } }, { diff --git a/langs/layers/en.json b/langs/layers/en.json index d175ca8b4..72a6f6eaf 100644 --- a/langs/layers/en.json +++ b/langs/layers/en.json @@ -4127,7 +4127,7 @@ "placeholder": "Height of the kerb" }, "question": "What is the height of this kerb?", - "render": "Kerb height: {{kerb:height}}" + "render": "Kerb height: {kerb:height}" }, "kerb-type": { "mappings": { @@ -4635,7 +4635,7 @@ } }, "question": "How many parking spots are there at this parking?", - "render": "There are {{capacity}} parking spots" + "render": "There are {capacity} parking spots" }, "capacity-disabled": { "freeform": { @@ -4650,7 +4650,7 @@ } }, "question": "How many disabled parking spots are there at this parking?", - "render": "There are {{capacity:disabled}} disabled parking spots" + "render": "There are {capacity:disabled} disabled parking spots" }, "parking-type": { "mappings": { diff --git a/langs/layers/nl.json b/langs/layers/nl.json index f46d4b970..6d1f8c96d 100644 --- a/langs/layers/nl.json +++ b/langs/layers/nl.json @@ -4035,7 +4035,7 @@ "placeholder": "Hoogte van de stoeprand" }, "question": "Hoe hoog is deze stoeprand?", - "render": "Stoeprandhoogte: {{kerb:height}}" + "render": "Stoeprandhoogte: {kerb:height}" }, "kerb-type": { "mappings": { @@ -4519,7 +4519,7 @@ } }, "question": "Hoeveel parkeerplaatsen zijn er op deze parking?", - "render": "Er zijn {{capacity}} parkeerplaatsen" + "render": "Er zijn {capacity} parkeerplaatsen" }, "capacity-disabled": { "freeform": { @@ -4534,7 +4534,7 @@ } }, "question": "Hoeveel parkeerplaatsen voor gehandicapten zijn er op deze parking?", - "render": "Er zijn {{capacity:disabled}} parkeerplaatsen voor gehandicapten" + "render": "Er zijn capacity:disabled} parkeerplaatsen voor gehandicapten" }, "parking-type": { "mappings": {