Less options for picnic tables, add dutch translation

This commit is contained in:
pietervdvn 2021-03-01 21:14:22 +01:00
parent dc34cb86e4
commit f0742ab812
2 changed files with 26 additions and 17 deletions

View file

@ -2,7 +2,7 @@ import { Utils } from "../Utils";
export default class Constants { export default class Constants {
public static vNumber = "0.5.4c"; public static vNumber = "0.5.5";
// The user journey states thresholds when a new feature gets unlocked // The user journey states thresholds when a new feature gets unlocked
public static userJourney = { public static userJourney = {

View file

@ -1,7 +1,8 @@
{ {
"id": "picnic_tables", "id": "picnic_tables",
"name": { "name": {
"en": "Picnic tables" "en": "Picnic tables",
"nl": "Picnictafels"
}, },
"minzoom": 12, "minzoom": 12,
"overpassTags": { "overpassTags": {
@ -11,19 +12,23 @@
}, },
"title": { "title": {
"render": { "render": {
"en": "Picnic table" "en": "Picnic table",
"nl": "Picnictafel"
} }
}, },
"description": { "description": {
"en": "The layer showing picnic tables" "en": "The layer showing picnic tables",
"nl": "Deze laag toont picnictafels"
}, },
"tagRenderings": [ "tagRenderings": [
{ {
"question": { "question": {
"en": "What material is this picnic table made of?" "en": "What material is this picnic table made of?",
"nl": "Van welk materiaal is deze picnictafel gemaakt?"
}, },
"render": { "render": {
"en": "This picnic table is made of {material}" "en": "This picnic table is made of {material}",
"nl": "Deze picnictafel is gemaakt van {material}"
}, },
"freeform": { "freeform": {
"key": "material" "key": "material"
@ -36,7 +41,19 @@
] ]
}, },
"then": { "then": {
"en": "This is a wooden picnic table" "en": "This is a wooden picnic table",
"nl": "Deze picnictafel is gemaakt uit hout"
}
},
{
"if": {
"and": [
"material=concrete"
]
},
"then": {
"en": "This is a concrete picnic table",
"nl": "Deze picnictafel is gemaakt uit beton"
} }
} }
] ]
@ -61,16 +78,8 @@
"leisure=picnic_table" "leisure=picnic_table"
], ],
"title": { "title": {
"en": "Picnic table" "en": "Picnic table",
} "nl": "Picnic-tafel"
},
{
"tags": [
"leisure=picnic_table",
"material=wood"
],
"title": {
"en": "Wooden picnic table"
} }
} }
], ],