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
Signed by untrusted user who does not match committer: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
12 changed files with 14 additions and 120 deletions

View file

@ -281,40 +281,19 @@
"id": "Operational status" "id": "Operational status"
}, },
{ {
"question": { "builtin": "opening_hours_24_7",
"nl": "Wanneer is dit fietsherstelpunt open?", "override": {
"en": "When is this bicycle repair point open?", "question": {
"fr": "Quand ce point de réparation de vélo est-il ouvert ?", "nl": "Wanneer is dit fietsherstelpunt open?",
"it": "Quando è aperto questo punto riparazione bici?", "en": "When is this bicycle repair point open?",
"de": "Wann ist die Fahrradreparaturstation geöffnet?", "fr": "Quand ce point de réparation de vélo est-il ouvert ?",
"ru": "Когда работает эта точка обслуживания велосипедов?", "it": "Quando è aperto questo punto riparazione bici?",
"es": "¿Cuándo está abierto este punto de reparación de bicicletas?", "de": "Wann ist die Fahrradreparaturstation geöffnet?",
"da": "Hvornår er dette cykelreparationssted åbent?" "ru": "Когда работает эта точка обслуживания велосипедов?",
}, "es": "¿Cuándo está abierto este punto de reparación de bicicletas?",
"render": "{opening_hours_table()}", "da": "Hvornår er dette cykelreparationssted åbent?"
"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"
}
} }
], }
"id": "bike_repair_station-opening_hours"
}, },
{ {
"id": "access", "id": "access",
@ -979,4 +958,4 @@
"da": "Et lag med cykelpumper og cykelreværktøjsstativer", "da": "Et lag med cykelpumper og cykelreværktøjsstativer",
"fr": "Une couche montrant les pompes à vélo et les centres de réparation" "fr": "Une couche montrant les pompes à vélo et les centres de réparation"
} }
} }

View file

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

View file

@ -878,14 +878,6 @@
}, },
"question": "Har pumpen trykindikator eller manometer?" "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": { "bike_repair_station-operator": {
"question": "Hvem vedligeholder denne cykluspumpe?", "question": "Hvem vedligeholder denne cykluspumpe?",
"render": "Vedligeholdt af {operator}" "render": "Vedligeholdt af {operator}"

View file

@ -895,14 +895,6 @@
}, },
"question": "Verfügt die Pumpe über einen Druckanzeiger oder ein Manometer?" "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": { "bike_repair_station-operator": {
"question": "Wer betreibt die Reparaturstation?", "question": "Wer betreibt die Reparaturstation?",
"render": "Gewartet von {operator}" "render": "Gewartet von {operator}"

View file

@ -895,14 +895,6 @@
}, },
"question": "Does the pump have a pressure indicator or manometer?" "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": { "bike_repair_station-operator": {
"question": "Who maintains this cycle pump?", "question": "Who maintains this cycle pump?",
"render": "Maintained by {operator}" "render": "Maintained by {operator}"

View file

@ -804,14 +804,6 @@
}, },
"question": "¿La bomba tiene un indicador de presión o manómetro?" "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": { "bike_repair_station-operator": {
"question": "¿Quién mantiene esta bomba para bicicletas?", "question": "¿Quién mantiene esta bomba para bicicletas?",
"render": "Mantenido por {operator}" "render": "Mantenido por {operator}"

View file

@ -884,14 +884,6 @@
}, },
"question": "Est-ce que la pompe à un manomètre integré ?" "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": { "bike_repair_station-operator": {
"question": "Qui maintient cette pompe à vélo ?", "question": "Qui maintient cette pompe à vélo ?",
"render": "Mantenue par {operator}" "render": "Mantenue par {operator}"

View file

@ -573,14 +573,6 @@
}, },
"question": "Questa pompa ha lindicatore della pressione o il manometro?" "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": { "bike_repair_station-operator": {
"question": "Chi gestisce questa pompa per bici?", "question": "Chi gestisce questa pompa per bici?",
"render": "Manutenuta da {operator}" "render": "Manutenuta da {operator}"

View file

@ -895,14 +895,6 @@
}, },
"question": "Heeft deze pomp een luchtdrukmeter?" "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": { "bike_repair_station-operator": {
"question": "Wie beheert deze fietspomp?", "question": "Wie beheert deze fietspomp?",
"render": "Beheer door {operator}" "render": "Beheer door {operator}"

View file

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

View file

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

View file

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