Fix translations

This commit is contained in:
Pieter Vander Vennet 2021-11-08 03:11:06 +01:00
parent 49ee00e10a
commit 3b6c1c16a5
3 changed files with 64 additions and 24 deletions

View file

@ -302,13 +302,15 @@
"key": "opening_hours", "key": "opening_hours",
"type": "opening_hours" "type": "opening_hours"
}, },
"mappings": [{ "mappings": [
"if": "opening_hours=24/7", {
"then": { "if": "opening_hours=24/7",
"en": "Opened 24/7", "then": {
"nl": "Altijd open" "en": "Opened 24/7",
"nl": "Altijd open"
}
} }
}] ]
}, },
{ {
"id": "toilets-wheelchair", "id": "toilets-wheelchair",
@ -543,28 +545,19 @@
], ],
"condition": { "condition": {
"#": "Urinals normally don't have toilet paper", "#": "Urinals normally don't have toilet paper",
"and": ["toilets:position!=urinal"] "and": [
"toilets:position!=urinal"
]
} }
} }
], ],
"iconBadges": [{ "iconBadges": [
"if": "opening_hours~*",
"then": "isOpen"
}],
"filter": [
{ {
"id": "is_open", "if": "opening_hours~*",
"options": [{ "then": "isOpen"
"question": { }
"nl": "Nu geopened", ],
"en": "Opened now" "filter": [
},
"osmTags": {
"or": ["opening_hours=","_isOpen=yes"]
}
}
]
},
{ {
"id": "wheelchair", "id": "wheelchair",
"options": [ "options": [
@ -609,6 +602,23 @@
} }
} }
] ]
},
{
"id": "is_open",
"options": [
{
"question": {
"nl": "Nu geopened",
"en": "Opened now"
},
"osmTags": {
"or": [
"opening_hours=",
"_isOpen=yes"
]
}
}
]
} }
], ],
"deletion": { "deletion": {

View file

@ -3198,6 +3198,13 @@
"question": "Free to use" "question": "Free to use"
} }
} }
},
"3": {
"options": {
"0": {
"question": "Opened now"
}
}
} }
}, },
"name": "Toilets", "name": "Toilets",
@ -3212,6 +3219,14 @@
} }
}, },
"tagRenderings": { "tagRenderings": {
"Opening-hours": {
"mappings": {
"0": {
"then": "Opened 24/7"
}
},
"question": "When are these toilets opened?"
},
"toilet-access": { "toilet-access": {
"mappings": { "mappings": {
"0": { "0": {

View file

@ -3583,6 +3583,13 @@
"question": "Gratis toegankelijk" "question": "Gratis toegankelijk"
} }
} }
},
"3": {
"options": {
"0": {
"question": "Nu geopened"
}
}
} }
}, },
"name": "Toiletten", "name": "Toiletten",
@ -3597,6 +3604,14 @@
} }
}, },
"tagRenderings": { "tagRenderings": {
"Opening-hours": {
"mappings": {
"0": {
"then": "Altijd open"
}
},
"question": "Wanneer zijn deze toiletten open?"
},
"toilet-access": { "toilet-access": {
"mappings": { "mappings": {
"0": { "0": {