Themes(charging_station) Extract maxstay question (#1657)

This commit is contained in:
Robin van der Linde 2024-12-03 16:51:32 +01:00
parent 92738457ff
commit be50382fa0
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
11 changed files with 235 additions and 144 deletions

View file

@ -1790,9 +1790,9 @@
{
"en": "<b>Tesla Supercharger</b>",
"nl": "<b>Tesla Supercharger</b>",
"cs": "<b>Tesla Supercharger</b>",
"de": "<b>Tesla Supercharger</b>",
"es": "<b>Tesla Supercharger</b>",
"cs": "<b>Tesla Supercharger</b>"
"es": "<b>Tesla Supercharger</b>"
},
"Tesla-hpwc-model-s.svg",
[
@ -2530,43 +2530,15 @@
},
{
"id": "maxstay",
"question": {
"en": "What is the maximum amount of time one is allowed to stay here?",
"nl": "Hoelang mag een voertuig hier blijven staan?",
"ca": "Quina és la quantitat màxima de temps que es permet permaneixer aquí?",
"de": "Wie lange darf man hier maximal parken?",
"es": "¿Cuál es el tiempo máximo que se permite permanecer aquí?"
},
"freeform": {
"key": "maxstay",
"type": "pfloat"
},
"render": {
"en": "One can stay at most <b>{canonical(maxstay)}</b>",
"nl": "De maximale parkeertijd hier is <b>{canonical(maxstay)}</b>",
"ca": "Un pot quedar-se com a màxim <b>{canonical(maxstay)}</b>",
"de": "Die maximale Parkdauer beträgt <b>{canonical(maxstay)}</b>",
"es": "Se puede permanecer como máximo <b>{canonical(maxstay)}</b>"
},
"mappings": [
{
"if": "maxstay=unlimited",
"then": {
"en": "No timelimit on leaving your vehicle here",
"nl": "Geen maximum parkeertijd",
"ca": "No hi ha límit de temps per a deixar el teu vehicle aquí",
"de": "Keine Höchstparkdauer",
"es": "Sin límite de tiempo para dejar tu vehículo aquí"
}
"builtin": "maxstay",
"override": {
"condition": {
"or": [
"motorcar=yes",
"hgv=yes",
"bus=yes"
]
}
],
"condition": {
"or": [
"maxstay~*",
"motorcar=yes",
"hgv=yes",
"bus=yes"
]
}
},
{
@ -2584,11 +2556,11 @@
"en": "Is this charging station part of a network?",
"nl": "Is dit oplaadpunt deel van een groter netwerk?",
"ca": "Aquesta estació de càrrega forma part d'una xarxa?",
"cs": "Je tato nabíjecí stanice součástí sítě?",
"de": "Ist diese Ladestation Teil eines Netzwerks?",
"es": "¿Este punto de carga forma parte de una red?",
"pl": "Czy ta stacja ładowania jest częścią sieci?",
"uk": "Чи є ця зарядна станція частиною мережі?",
"cs": "Je tato nabíjecí stanice součástí sítě?"
"uk": "Чи є ця зарядна станція частиною мережі?"
},
"freeform": {
"key": "network"
@ -2609,11 +2581,11 @@
"then": {
"en": "Not part of a bigger network",
"nl": "Maakt geen deel uit van een groter netwerk",
"cs": "Není součástí větší sítě",
"de": "Nicht Teil eines größeren Netzwerks",
"es": "No forma parte de una red mayor",
"pl": "Nie jest częścią większej sieci",
"uk": "Не є частиною великої мережі",
"cs": "Není součástí větší sítě"
"uk": "Не є частиною великої мережі"
},
"hideInAnswer": true
},
@ -3062,11 +3034,11 @@
"en": "All vehicle types",
"nl": "Alle voertuigen",
"ca": "Tots els tipus de vehicles",
"cs": "Všechny typy vozidel",
"de": "Ladestationen für alle Fahrzeugtypen",
"es": "Todos los tipos de vehículos",
"fr": "Tous les types de véhicules",
"it": "Tutti i tipi di veicoli",
"cs": "Všechny typy vozidel"
"it": "Tutti i tipi di veicoli"
}
},
{
@ -3074,11 +3046,11 @@
"en": "Charging station for bicycles",
"nl": "Oplaadpunten voor fietsen",
"ca": "Punt de recàrrega per a bicicletes",
"cs": "Nabíjecí stanice pro kola",
"de": "Ladestationen für Fahrräder",
"es": "Punto de carga para bicicletas",
"fr": "Station de recharge pour vélos",
"it": "Stazione di ricarica per biciclette",
"cs": "Nabíjecí stanice pro kola"
"it": "Stazione di ricarica per biciclette"
},
"osmTags": "bicycle=yes"
},
@ -3087,11 +3059,11 @@
"en": "Charging station for cars",
"nl": "Oplaadpunten voor auto's",
"ca": "Estació de càrrega per a cotxes",
"cs": "Nabíjecí stanice pro auta",
"de": "Ladestationen für Autos",
"es": "Punto de carga para coches",
"fr": "Station de recharge pour voitures",
"it": "Stazione di ricarica per auto",
"cs": "Nabíjecí stanice pro auta"
"it": "Stazione di ricarica per auto"
},
"osmTags": {
"or": [
@ -3110,11 +3082,11 @@
"en": "Only working charging stations",
"nl": "Enkel werkende oplaadpunten",
"ca": "Només estacions de recàrrega en funcionament",
"cs": "Pouze funkční nabíjecí stanice",
"de": "Nur Ladestationen in Betrieb",
"es": "Solo puntos de carga en funcionamiento",
"fr": "Seulement les stations de recharge qui fonctionnent",
"it": "Solo stazioni di ricarica funzionanti",
"cs": "Pouze funkční nabíjecí stanice"
"it": "Solo stazioni di ricarica funzionanti"
},
"osmTags": {
"and": [
@ -3133,10 +3105,10 @@
"en": "All connectors",
"nl": "Alle types",
"ca": "Tots els connectors",
"cs": "Všechny konektory",
"de": "Alle Anschlüsse",
"es": "Todos los conectores",
"it": "Tutti i connettori",
"cs": "Všechny konektory"
"it": "Tutti i connettori"
}
},
{

View file

@ -559,34 +559,15 @@
},
{
"id": "maxstay",
"question": {
"en": "What is the maximum amount of time one is allowed to stay here?",
"nl": "Hoelang mag een voertuig hier blijven staan?"
},
"freeform": {
"key": "maxstay",
"type": "pfloat"
},
"render": {
"en": "One can stay at most <b>{canonical(maxstay)}</b>",
"nl": "De maximale parkeertijd hier is <b>{canonical(maxstay)}</b>"
},
"mappings": [
{
"if": "maxstay=unlimited",
"then": {
"en": "No timelimit on leaving your vehicle here",
"nl": "Geen maximum parkeertijd"
}
"builtin": "maxstay",
"override": {
"condition": {
"or": [
"motorcar=yes",
"hgv=yes",
"bus=yes"
]
}
],
"condition": {
"or": [
"maxstay~*",
"motorcar=yes",
"hgv=yes",
"bus=yes"
]
}
},
{
@ -1050,4 +1031,4 @@
},
"neededChangesets": 10
}
}
}

View file

@ -350,7 +350,8 @@
"cs": "Počet parkovacích míst {capacity}",
"es": "Hay {capacity} plazas de aparcamiento"
}
}
},
"maxstay"
],
"deletion": {
"softDeletionTags": {
@ -365,4 +366,4 @@
"enableRelocation": false,
"enableImproveAccuracy": true
}
}
}

View file

@ -3208,7 +3208,43 @@
}
],
"multiAnswer": true
},
{
"id": "maxstay",
"question": {
"en": "What is the maximum amount of time one is allowed to stay here?",
"nl": "Wat is de maximale tijd die je hier mag blijven?"
},
"freeform": {
"key": "maxstay",
"type": "pfloat"
},
"render": {
"en": "One can stay at most <b>{canonical(maxstay)}</b>",
"nl": "Je mag hier maximaal <b>{canonical(maxstay)}</b> blijven"
},
"mappings": [
{
"if": "maxstay=unlimited",
"then": {
"en": "There is no limit to the amount of time one can stay here",
"nl": "Er is geen limiet aan de tijd die je hier mag blijven"
}
}
]
}
],
"allowMove": false
"allowMove": false,
"units": [
{
"maxstay": {
"quantity": "duration",
"denominations": [
"minutes",
"hours",
"days"
]
}
}
]
}