Further work, add checkboxes as option

This commit is contained in:
Pieter Vander Vennet 2020-09-10 19:33:06 +02:00
parent 8bb9b1228b
commit c944156d87
28 changed files with 364 additions and 149 deletions

View file

@ -238,46 +238,38 @@
"gl": "Esta bomba de ar admite as seguintes válvulas: {valves}"
},
"freeform": {
"addExtraTags": [
"#addExtraTags": [
"fixme=Freeform 'valves'-tag used: possibly a wrong value"
],
"key": "valves"
},
"multiAnswer": true,
"mappings": [
{
"if": "valves=sclaverand;schrader;dunlop",
"then": {
"en": "There is a default head, so Dunlop, Sclaverand and auto",
"nl": "Er is een standaard aansluiting, die dus voor Dunlop, Sclaverand en auto's",
"fr": "Il y a une valve par défaut, fonctionnant sur les valves Dunlop, Sclaverand et les valves de voitures",
"gl": "Hai un cabezal predeterminado que é compatíbel con Dunlop, Sclaverand e automóbil"
}
},
{
"if": "valves=sclaverand",
"then": {
"en": "Only Sclaverand (also known as Presta)",
"nl": "Enkel Sclaverand (ook gekend als Presta)",
"fr": "Seulement Sclaverand (aussi appelé Presta)",
"gl": "Sclaverand (tamén coñecido como Presta)"
"en": "Sclaverand (also known as Presta)",
"nl": "Sclaverand (ook gekend als Presta)",
"fr": "Sclaverand (aussi appelé Presta)",
"gl": "Sclaverand (tamén coñecido como Presta)"
}
},
{
"if": "valves=dunlop",
"then": {
"en": "Only Dunlop",
"nl": "Enkel Dunlop",
"fr": "Seulement Dunlop",
"gl": "Dunlop"
"en": "Dunlop",
"nl": "Dunlop",
"fr": "Dunlop",
"gl": "Dunlop"
}
},
{
"if": "valves=schrader",
"then": {
"en": "Only for cars",
"nl": "Enkel voor auto's",
"fr": "Seuelement les valves de voitures",
"gl": "Só para automóbiles"
"en": "Schrader (cars)",
"nl": "Schrader (auto's)",
"fr": "Schrader (les valves de voitures)",
"gl": "Schrader (para automóbiles)"
}
}
]

View file

@ -159,21 +159,13 @@
},
"mappings": [
{
"if": {
"and": [
"operator=Natuurpunt"
]
},
"if": "operator=Natuurpunt",
"then": {
"nl": "Beheer door Natuurpunt"
}
},
{
"if": {
"and": [
"operator=Agentschap Natuur en Bos"
]
},
"if": "operator=Agentschap Natuur en Bos",
"then": {
"nl": "Beheer door het Agentschap Natuur en Bos "
}