Change opening_hours rendering

This commit is contained in:
Robin van der Linde 2022-10-30 20:29:17 +01:00
parent de3a78b998
commit 40b53687ac
No known key found for this signature in database
GPG key ID: 53956B3252478F0D
12 changed files with 14 additions and 120 deletions

View file

@ -281,40 +281,19 @@
"id": "Operational status"
},
{
"question": {
"nl": "Wanneer is dit fietsherstelpunt open?",
"en": "When is this bicycle repair point open?",
"fr": "Quand ce point de réparation de vélo est-il ouvert ?",
"it": "Quando è aperto questo punto riparazione bici?",
"de": "Wann ist die Fahrradreparaturstation geöffnet?",
"ru": "Когда работает эта точка обслуживания велосипедов?",
"es": "¿Cuándo está abierto este punto de reparación de bicicletas?",
"da": "Hvornår er dette cykelreparationssted åbent?"
},
"render": "{opening_hours_table()}",
"freeform": {
"key": "opening_hours",
"type": "opening_hours"
},
"mappings": [
{
"if": "opening_hours=24/7",
"then": {
"nl": "Dag en nacht open",
"en": "Always open",
"fr": "Ouvert en permanence",
"it": "Sempre aperto",
"de": "Die Station ist durchgehend geöffnet",
"ru": "Всегда открыто",
"pt_BR": "Sempre aberto",
"pt": "Sempre aberto",
"ca": "Sempre obert",
"es": "Siempre abierto",
"da": "Altid åben"
}
"builtin": "opening_hours_24_7",
"override": {
"question": {
"nl": "Wanneer is dit fietsherstelpunt open?",
"en": "When is this bicycle repair point open?",
"fr": "Quand ce point de réparation de vélo est-il ouvert ?",
"it": "Quando è aperto questo punto riparazione bici?",
"de": "Wann ist die Fahrradreparaturstation geöffnet?",
"ru": "Когда работает эта точка обслуживания велосипедов?",
"es": "¿Cuándo está abierto este punto de reparación de bicicletas?",
"da": "Hvornår er dette cykelreparationssted åbent?"
}
],
"id": "bike_repair_station-opening_hours"
}
},
{
"id": "access",
@ -979,4 +958,4 @@
"da": "Et lag med cykelpumper og cykelreværktøjsstativer",
"fr": "Une couche montrant les pompes à vélo et les centres de réparation"
}
}
}

View file

@ -264,13 +264,6 @@
"then": "Bomba elèctrica"
}
}
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Sempre obert"
}
}
}
},
"title": {
@ -1116,4 +1109,4 @@
}
}
}
}
}

View file

@ -878,14 +878,6 @@
},
"question": "Har pumpen trykindikator eller manometer?"
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Altid åben"
}
},
"question": "Hvornår er dette cykelreparationssted åbent?"
},
"bike_repair_station-operator": {
"question": "Hvem vedligeholder denne cykluspumpe?",
"render": "Vedligeholdt af {operator}"

View file

@ -895,14 +895,6 @@
},
"question": "Verfügt die Pumpe über einen Druckanzeiger oder ein Manometer?"
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Die Station ist durchgehend geöffnet"
}
},
"question": "Wann ist die Fahrradreparaturstation geöffnet?"
},
"bike_repair_station-operator": {
"question": "Wer betreibt die Reparaturstation?",
"render": "Gewartet von {operator}"

View file

@ -895,14 +895,6 @@
},
"question": "Does the pump have a pressure indicator or manometer?"
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Always open"
}
},
"question": "When is this bicycle repair point open?"
},
"bike_repair_station-operator": {
"question": "Who maintains this cycle pump?",
"render": "Maintained by {operator}"

View file

@ -804,14 +804,6 @@
},
"question": "¿La bomba tiene un indicador de presión o manómetro?"
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Siempre abierto"
}
},
"question": "¿Cuándo está abierto este punto de reparación de bicicletas?"
},
"bike_repair_station-operator": {
"question": "¿Quién mantiene esta bomba para bicicletas?",
"render": "Mantenido por {operator}"

View file

@ -884,14 +884,6 @@
},
"question": "Est-ce que la pompe à un manomètre integré ?"
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Ouvert en permanence"
}
},
"question": "Quand ce point de réparation de vélo est-il ouvert ?"
},
"bike_repair_station-operator": {
"question": "Qui maintient cette pompe à vélo ?",
"render": "Mantenue par {operator}"

View file

@ -573,14 +573,6 @@
},
"question": "Questa pompa ha lindicatore della pressione o il manometro?"
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Sempre aperto"
}
},
"question": "Quando è aperto questo punto riparazione bici?"
},
"bike_repair_station-operator": {
"question": "Chi gestisce questa pompa per bici?",
"render": "Manutenuta da {operator}"

View file

@ -895,14 +895,6 @@
},
"question": "Heeft deze pomp een luchtdrukmeter?"
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Dag en nacht open"
}
},
"question": "Wanneer is dit fietsherstelpunt open?"
},
"bike_repair_station-operator": {
"question": "Wie beheert deze fietspomp?",
"render": "Beheer door {operator}"

View file

@ -458,13 +458,6 @@
}
}
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Sempre aberto"
}
}
},
"bike_repair_station-operator": {
"question": "Quem faz a manutenção desta bomba de ciclo?",
"render": "Mantida por {operator}"

View file

@ -402,13 +402,6 @@
}
}
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Sempre aberto"
}
}
},
"bike_repair_station-operator": {
"question": "Quem faz a manutenção desta bomba de ciclo?",
"render": "Mantida por {operator}"

View file

@ -504,14 +504,6 @@
}
}
},
"bike_repair_station-opening_hours": {
"mappings": {
"0": {
"then": "Всегда открыто"
}
},
"question": "Когда работает эта точка обслуживания велосипедов?"
},
"bike_repair_station-valves": {
"mappings": {
"0": {