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 {
public static vNumber = "0.5.4c";
public static vNumber = "0.5.5";
// The user journey states thresholds when a new feature gets unlocked
public static userJourney = {

View file

@ -1,7 +1,8 @@
{
"id": "picnic_tables",
"name": {
"en": "Picnic tables"
"en": "Picnic tables",
"nl": "Picnictafels"
},
"minzoom": 12,
"overpassTags": {
@ -11,19 +12,23 @@
},
"title": {
"render": {
"en": "Picnic table"
"en": "Picnic table",
"nl": "Picnictafel"
}
},
"description": {
"en": "The layer showing picnic tables"
"en": "The layer showing picnic tables",
"nl": "Deze laag toont picnictafels"
},
"tagRenderings": [
{
"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": {
"en": "This picnic table is made of {material}"
"en": "This picnic table is made of {material}",
"nl": "Deze picnictafel is gemaakt van {material}"
},
"freeform": {
"key": "material"
@ -36,7 +41,19 @@
]
},
"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"
],
"title": {
"en": "Picnic table"
}
},
{
"tags": [
"leisure=picnic_table",
"material=wood"
],
"title": {
"en": "Wooden picnic table"
"en": "Picnic table",
"nl": "Picnic-tafel"
}
}
],