Add translation names in an automated way

This commit is contained in:
pietervdvn 2021-09-26 18:16:18 +02:00
parent 699e609fd7
commit a53a0f3b6f
23 changed files with 168 additions and 84 deletions

View file

@ -121,7 +121,8 @@
"nb_NO": "Har denne beken et rygglene?", "nb_NO": "Har denne beken et rygglene?",
"pl": "Czy ta ławka ma oparcie?", "pl": "Czy ta ławka ma oparcie?",
"pt_BR": "Este assento tem um escosto?" "pt_BR": "Este assento tem um escosto?"
} },
"id": "bench-backrest"
}, },
{ {
"render": { "render": {
@ -157,7 +158,8 @@
"nb_NO": "Hvor mange sitteplasser har denne benken?", "nb_NO": "Hvor mange sitteplasser har denne benken?",
"pl": "Ile siedzeń ma ta ławka?", "pl": "Ile siedzeń ma ta ławka?",
"pt_BR": "Quantos assentos este banco tem?" "pt_BR": "Quantos assentos este banco tem?"
} },
"id": "bench-seats"
}, },
{ {
"render": { "render": {
@ -308,7 +310,8 @@
"zh_Hant": "這個長椅 (座位) 是什麼做的?", "zh_Hant": "這個長椅 (座位) 是什麼做的?",
"pt_BR": "De que é feito o banco (assento)?", "pt_BR": "De que é feito o banco (assento)?",
"pl": "Z czego wykonana jest ławka (siedzisko)?" "pl": "Z czego wykonana jest ławka (siedzisko)?"
} },
"id": "bench-material"
}, },
{ {
"question": { "question": {
@ -340,7 +343,8 @@
"freeform": { "freeform": {
"key": "direction", "key": "direction",
"type": "direction" "type": "direction"
} },
"id": "bench-direction"
}, },
{ {
"render": { "render": {
@ -521,7 +525,8 @@
"pl": "Kolor: żółty" "pl": "Kolor: żółty"
} }
} }
] ],
"id": "bench-colour"
}, },
{ {
"question": { "question": {
@ -557,7 +562,8 @@
"if": "survey:date:={_now:date}", "if": "survey:date:={_now:date}",
"then": "Surveyed today!" "then": "Surveyed today!"
} }
] ],
"id": "bench-survey:date"
} }
], ],
"icon": { "icon": {

View file

@ -106,7 +106,8 @@
}, },
"freeform": { "freeform": {
"key": "name" "key": "name"
} },
"id": "bench_at_pt-name"
}, },
{ {
"render": { "render": {
@ -127,7 +128,8 @@
"and": [ "and": [
"bench=stand_up_bench" "bench=stand_up_bench"
] ]
} },
"id": "bench_at_pt-bench"
} }
], ],
"icon": { "icon": {

View file

@ -79,7 +79,8 @@
}, },
"freeform": { "freeform": {
"key": "name" "key": "name"
} },
"id": "bicycle_library-name"
}, },
"website", "website",
"phone", "phone",
@ -155,7 +156,8 @@
"pt_BR": "Emprestar uma bicicleta custa €20/ano e €20 de garantia" "pt_BR": "Emprestar uma bicicleta custa €20/ano e €20 de garantia"
} }
} }
] ],
"id": "bicycle_library-charge"
}, },
{ {
"question": { "question": {

View file

@ -161,7 +161,8 @@
"render": "A bicycle tube costs {charge}", "render": "A bicycle tube costs {charge}",
"freeform": { "freeform": {
"key": "charge" "key": "charge"
} },
"id": "bicycle_tube_vending_machine-charge"
}, },
{ {
"question": "How can one pay at this tube vending machine?", "question": "How can one pay at this tube vending machine?",
@ -200,7 +201,8 @@
"then": "Schwalbe tubes are sold here" "then": "Schwalbe tubes are sold here"
} }
], ],
"multiAnswer": true "multiAnswer": true,
"id": "bicycle_tube_vending_machine-brand"
}, },
{ {
"question": "Who maintains this vending machine?", "question": "Who maintains this vending machine?",
@ -217,7 +219,8 @@
], ],
"freeform": { "freeform": {
"key": "operator" "key": "operator"
} },
"id": "bicycle_tube_vending_machine-operator"
}, },
{ {
"question": "Are other bicycle bicycle accessories sold here?", "question": "Are other bicycle bicycle accessories sold here?",

View file

@ -97,7 +97,8 @@
}, },
"freeform": { "freeform": {
"key": "name" "key": "name"
} },
"id": "bike_cafe-name"
}, },
{ {
"question": { "question": {
@ -250,7 +251,8 @@
"render": "<a href='{website}' target='_blank'>{website}</a>", "render": "<a href='{website}' target='_blank'>{website}</a>",
"freeform": { "freeform": {
"key": "website" "key": "website"
} },
"id": "bike_cafe-website"
}, },
{ {
"question": { "question": {
@ -269,7 +271,8 @@
"freeform": { "freeform": {
"key": "phone", "key": "phone",
"type": "phone" "type": "phone"
} },
"id": "bike_cafe-phone"
}, },
{ {
"question": { "question": {
@ -288,7 +291,8 @@
"freeform": { "freeform": {
"key": "email", "key": "email",
"type": "email" "type": "email"
} },
"id": "bike_cafe-email"
}, },
{ {
"question": { "question": {
@ -305,7 +309,8 @@
"freeform": { "freeform": {
"key": "opening_hours", "key": "opening_hours",
"type": "opening_hours" "type": "opening_hours"
} },
"id": "bike_cafe-opening_hours"
} }
], ],
"icon": { "icon": {

View file

@ -114,7 +114,8 @@
"then": "The cleaning service has a fee" "then": "The cleaning service has a fee"
} }
], ],
"roaming": true "roaming": true,
"id": "bike_cleaning-service:bicycle:cleaning:charge"
}, },
{ {
"question": "How much does it cost to use the cleaning service?", "question": "How much does it cost to use the cleaning service?",
@ -141,7 +142,8 @@
"then": "The cleaning service has a fee" "then": "The cleaning service has a fee"
} }
], ],
"roaming": false "roaming": false,
"id": "bike_cleaning-charge"
} }
] ]
} }

View file

@ -224,7 +224,8 @@
"then": "<a href='https://fietsambassade.gent.be/' target='_blank'>De Fietsambassade Gent</a>", "then": "<a href='https://fietsambassade.gent.be/' target='_blank'>De Fietsambassade Gent</a>",
"hideInAnswer": "_country!=be" "hideInAnswer": "_country!=be"
} }
] ],
"id": "bike_repair_station-operator"
}, },
{ {
"question": { "question": {
@ -235,7 +236,8 @@
"key": "email", "key": "email",
"type": "email" "type": "email"
}, },
"render": "<a href='mailto:{email}'>{email}</a>" "render": "<a href='mailto:{email}'>{email}</a>",
"id": "bike_repair_station-email"
}, },
{ {
"question": { "question": {
@ -246,7 +248,8 @@
"key": "phone", "key": "phone",
"type": "phone" "type": "phone"
}, },
"render": "<a href='tel:{phone}'>{phone}</a>" "render": "<a href='tel:{phone}'>{phone}</a>",
"id": "bike_repair_station-phone"
}, },
{ {
"question": { "question": {
@ -287,7 +290,8 @@
}, },
"hideInAnswer": true "hideInAnswer": true
} }
] ],
"id": "bike_repair_station-opening_hours"
}, },
{ {
"question": { "question": {
@ -481,7 +485,8 @@
"it": "Schrader (valvola delle auto)" "it": "Schrader (valvola delle auto)"
} }
} }
] ],
"id": "bike_repair_station-valves"
}, },
{ {
"question": { "question": {

View file

@ -225,7 +225,8 @@
}, },
"freeform": { "freeform": {
"key": "name" "key": "name"
} },
"id": "bike_shop-name"
}, },
{ {
"question": { "question": {
@ -243,7 +244,8 @@
"freeform": { "freeform": {
"key": "website", "key": "website",
"type": "url" "type": "url"
} },
"id": "bike_shop-website"
}, },
{ {
"question": { "question": {
@ -260,7 +262,8 @@
"freeform": { "freeform": {
"key": "phone", "key": "phone",
"type": "phone" "type": "phone"
} },
"id": "bike_shop-phone"
}, },
{ {
"question": { "question": {
@ -277,7 +280,8 @@
"freeform": { "freeform": {
"key": "email", "key": "email",
"type": "email" "type": "email"
} },
"id": "bike_shop-email"
}, },
{ {
"render": "{opening_hours_table(opening_hours)}", "render": "{opening_hours_table(opening_hours)}",
@ -285,14 +289,16 @@
"freeform": { "freeform": {
"key": "opening_hours", "key": "opening_hours",
"type": "opening_hours" "type": "opening_hours"
} },
"id": "bike_shop-opening_hours"
}, },
"description", "description",
{ {
"render": "Enkel voor {access}", "render": "Enkel voor {access}",
"freeform": { "freeform": {
"key": "access" "key": "access"
} },
"id": "bike_shop-access"
}, },
{ {
"question": { "question": {

View file

@ -45,7 +45,8 @@
"question": { "question": {
"en": "How much does one have to pay to use these binoculars?", "en": "How much does one have to pay to use these binoculars?",
"nl": "Hoeveel moet men betalen om deze verrekijker te gebruiken?" "nl": "Hoeveel moet men betalen om deze verrekijker te gebruiken?"
} },
"id": "binocular-charge"
}, },
{ {
"question": { "question": {
@ -59,7 +60,8 @@
"freeform": { "freeform": {
"key": "direction", "key": "direction",
"type": "direction" "type": "direction"
} },
"id": "binocular-direction"
} }
], ],
"icon": { "icon": {

View file

@ -184,7 +184,8 @@
"nl": "Beheer door het Agentschap Natuur en Bos " "nl": "Beheer door het Agentschap Natuur en Bos "
} }
} }
] ],
"id": "birdhide-operator"
} }
], ],
"icon": { "icon": {

View file

@ -1007,7 +1007,8 @@
"20", "20",
"map" "map"
] ]
} },
"id": "cycleways_and_roads-cycleway:buffer"
}, },
{ {
"question": { "question": {

View file

@ -191,7 +191,8 @@
"it": "Non accessibile, potrebbe essere solo per uso professionale" "it": "Non accessibile, potrebbe essere solo per uso professionale"
} }
} }
] ],
"id": "defibrillator-access"
}, },
{ {
"render": { "render": {
@ -236,7 +237,8 @@
"ru": "Это обычный автоматический дефибриллятор" "ru": "Это обычный автоматический дефибриллятор"
} }
} }
] ],
"id": "defibrillator-defibrillator"
}, },
{ {
"question": { "question": {
@ -287,7 +289,8 @@
"de": "Dieser Defibrillator befindet sich in der <b>ersten Etage</b>" "de": "Dieser Defibrillator befindet sich in der <b>ersten Etage</b>"
} }
} }
] ],
"id": "defibrillator-level"
}, },
{ {
"render": { "render": {
@ -309,7 +312,8 @@
"freeform": { "freeform": {
"type": "text", "type": "text",
"key": "defibrillator:location" "key": "defibrillator:location"
} },
"id": "defibrillator-defibrillator:location"
}, },
{ {
"render": { "render": {
@ -331,7 +335,8 @@
"freeform": { "freeform": {
"type": "text", "type": "text",
"key": "defibrillator:location:en" "key": "defibrillator:location:en"
} },
"id": "defibrillator-defibrillator:location:en"
}, },
{ {
"render": { "render": {
@ -353,7 +358,8 @@
"freeform": { "freeform": {
"type": "text", "type": "text",
"key": "defibrillator:location:fr" "key": "defibrillator:location:fr"
} },
"id": "defibrillator-defibrillator:location:fr"
}, },
"wheelchair-access", "wheelchair-access",
{ {
@ -374,7 +380,8 @@
"freeform": { "freeform": {
"type": "text", "type": "text",
"key": "ref" "key": "ref"
} },
"id": "defibrillator-ref"
}, },
{ {
"render": { "render": {
@ -394,7 +401,8 @@
"freeform": { "freeform": {
"key": "email", "key": "email",
"type": "email" "type": "email"
} },
"id": "defibrillator-email"
}, },
{ {
"render": { "render": {
@ -414,7 +422,8 @@
"freeform": { "freeform": {
"key": "phone", "key": "phone",
"type": "phone" "type": "phone"
} },
"id": "defibrillator-phone"
}, },
{ {
"render": { "render": {
@ -447,7 +456,8 @@
"de": "24/7 geöffnet (auch an Feiertagen)" "de": "24/7 geöffnet (auch an Feiertagen)"
} }
} }
] ],
"id": "defibrillator-opening_hours"
}, },
{ {
"render": { "render": {
@ -469,7 +479,8 @@
"freeform": { "freeform": {
"key": "description", "key": "description",
"type": "text" "type": "text"
} },
"id": "defibrillator-description"
}, },
{ {
"question": { "question": {
@ -502,7 +513,8 @@
"de": "Heute überprüft!" "de": "Heute überprüft!"
} }
} }
] ],
"id": "defibrillator-survey:date"
}, },
{ {
"render": { "render": {
@ -523,7 +535,8 @@
"freeform": { "freeform": {
"key": "fixme", "key": "fixme",
"type": "text" "type": "text"
} },
"id": "defibrillator-fixme"
} }
] ]
} }

View file

@ -117,7 +117,8 @@
"fr": "Aucun nom n'est marqué sur le vélo" "fr": "Aucun nom n'est marqué sur le vélo"
} }
} }
] ],
"id": "ghost_bike-name"
}, },
{ {
"question": { "question": {
@ -139,7 +140,8 @@
"freeform": { "freeform": {
"type": "url", "type": "url",
"key": "source" "key": "source"
} },
"id": "ghost_bike-source"
}, },
{ {
"question": { "question": {
@ -161,7 +163,8 @@
}, },
"freeform": { "freeform": {
"key": "inscription" "key": "inscription"
} },
"id": "ghost_bike-inscription"
}, },
{ {
"question": { "question": {
@ -180,7 +183,8 @@
"freeform": { "freeform": {
"key": "start_date", "key": "start_date",
"type": "date" "type": "date"
} },
"id": "ghost_bike-start_date"
} }
] ]
} }

View file

@ -71,7 +71,8 @@
"ru": "Эта карта основана на {map_source}", "ru": "Эта карта основана на {map_source}",
"fr": "Cette carte est basée sur {map_source}", "fr": "Cette carte est basée sur {map_source}",
"de": "Diese Karte basiert auf {map_source}" "de": "Diese Karte basiert auf {map_source}"
} },
"id": "map-map_source"
}, },
{ {
"question": { "question": {

View file

@ -73,7 +73,8 @@
"fr": "Cest une table en béton" "fr": "Cest une table en béton"
} }
} }
] ],
"id": "picnic_table-material"
} }
], ],
"icon": { "icon": {

View file

@ -51,7 +51,8 @@
"if": "operator=Agenstchap Natuur en Bos", "if": "operator=Agenstchap Natuur en Bos",
"then": "Dit gebied wordt beheerd door het <a href='https://www.natuurenbos.be/spelen'>Agentschap Natuur en Bos</a>" "then": "Dit gebied wordt beheerd door het <a href='https://www.natuurenbos.be/spelen'>Agentschap Natuur en Bos</a>"
} }
] ],
"id": "play_forest-operator"
}, },
{ {
"question": "Wanneer is deze speelzone toegankelijk?", "question": "Wanneer is deze speelzone toegankelijk?",
@ -72,7 +73,8 @@
"freeform": { "freeform": {
"key": "email", "key": "email",
"type": "email" "type": "email"
} },
"id": "play_forest-email"
}, },
{ {
"question": "Wie kan men bellen indien er problemen zijn met de speelzone?", "question": "Wie kan men bellen indien er problemen zijn met de speelzone?",
@ -80,7 +82,8 @@
"freeform": { "freeform": {
"key": "phone", "key": "phone",
"type": "phone" "type": "phone"
} },
"id": "play_forest-phone"
}, },
"questions", "questions",
{ {

View file

@ -161,7 +161,8 @@
}, },
"hideInAnswer": true "hideInAnswer": true
} }
] ],
"id": "playground-surface"
}, },
{ {
"question": { "question": {
@ -215,7 +216,8 @@
"freeform": { "freeform": {
"key": "min_age", "key": "min_age",
"type": "pnat" "type": "pnat"
} },
"id": "playground-min_age"
}, },
{ {
"render": { "render": {
@ -234,7 +236,8 @@
"freeform": { "freeform": {
"key": "max_age", "key": "max_age",
"type": "pnat" "type": "pnat"
} },
"id": "playground-max_age"
}, },
{ {
"question": { "question": {
@ -253,7 +256,8 @@
}, },
"freeform": { "freeform": {
"key": "operator" "key": "operator"
} },
"id": "playground-operator"
}, },
{ {
"question": { "question": {
@ -339,7 +343,8 @@
"freeform": { "freeform": {
"key": "email", "key": "email",
"type": "email" "type": "email"
} },
"id": "playground-email"
}, },
{ {
"question": { "question": {
@ -361,7 +366,8 @@
"freeform": { "freeform": {
"key": "phone", "key": "phone",
"type": "phone" "type": "phone"
} },
"id": "playground-phone"
}, },
{ {
"question": { "question": {
@ -453,7 +459,8 @@
}, },
"hideInAnswer": true "hideInAnswer": true
} }
] ],
"id": "playground-opening_hours"
}, },
"questions", "questions",
{ {

View file

@ -121,7 +121,8 @@
"it": "Questa microbiblioteca non ha un nome proprio" "it": "Questa microbiblioteca non ha un nome proprio"
} }
} }
] ],
"id": "public_bookcase-name"
}, },
{ {
"render": { "render": {
@ -144,7 +145,8 @@
"key": "capacity", "key": "capacity",
"type": "nat", "type": "nat",
"inline": true "inline": true
} },
"id": "public_bookcase-capacity"
}, },
{ {
"question": { "question": {
@ -285,7 +287,8 @@
"freeform": { "freeform": {
"type": "string", "type": "string",
"key": "operator" "key": "operator"
} },
"id": "public_bookcase-operator"
}, },
{ {
"question": { "question": {
@ -337,7 +340,8 @@
"it": "Questa microbiblioteca non fa parte di una rete" "it": "Questa microbiblioteca non fa parte di una rete"
} }
} }
] ],
"id": "public_bookcase-brand"
}, },
{ {
"render": { "render": {
@ -375,7 +379,8 @@
] ]
} }
} }
] ],
"id": "public_bookcase-ref"
}, },
{ {
"question": { "question": {
@ -397,7 +402,8 @@
"freeform": { "freeform": {
"key": "start_date", "key": "start_date",
"type": "date" "type": "date"
} },
"id": "public_bookcase-start_date"
}, },
{ {
"render": { "render": {
@ -419,7 +425,8 @@
"freeform": { "freeform": {
"key": "website", "key": "website",
"type": "url" "type": "url"
} },
"id": "public_bookcase-website"
} }
], ],
"deletion": { "deletion": {

View file

@ -201,7 +201,8 @@
}, },
"hideInAnswer": true "hideInAnswer": true
} }
] ],
"id": "slow_roads-surface"
}, },
{ {
"question": "Is deze weg 's nachts verlicht?", "question": "Is deze weg 's nachts verlicht?",

View file

@ -140,7 +140,8 @@
}, },
"hideInAnswer": true "hideInAnswer": true
} }
] ],
"id": "sport_pitch-sport"
}, },
{ {
"question": { "question": {
@ -211,7 +212,8 @@
"it": "La superficie è <b>calcestruzzo</b>" "it": "La superficie è <b>calcestruzzo</b>"
} }
} }
] ],
"id": "sport_pitch-surface"
}, },
{ {
"question": { "question": {
@ -331,7 +333,8 @@
"key": "phone", "key": "phone",
"type": "phone" "type": "phone"
}, },
"render": "<a href='tel:{phone}'>{phone}</a>" "render": "<a href='tel:{phone}'>{phone}</a>",
"id": "sport_pitch-phone"
}, },
{ {
"question": { "question": {
@ -344,7 +347,8 @@
"key": "email", "key": "email",
"type": "email" "type": "email"
}, },
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>" "render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"id": "sport_pitch-email"
}, },
{ {
"question": { "question": {
@ -376,7 +380,8 @@
} }
} }
], ],
"condition": "access~*" "condition": "access~*",
"id": "sport_pitch-opening_hours"
}, },
"questions", "questions",
{ {

View file

@ -167,7 +167,8 @@
}, },
"hideInAnswer": true "hideInAnswer": true
} }
] ],
"id": "toilet-access"
}, },
{ {
"question": { "question": {
@ -222,7 +223,8 @@
"freeform": { "freeform": {
"key": "charge", "key": "charge",
"type": "string" "type": "string"
} },
"id": "toilet-charge"
}, },
{ {
"question": { "question": {
@ -399,7 +401,8 @@
"it": "Il fasciatoio è in una stanza dedicata. " "it": "Il fasciatoio è in una stanza dedicata. "
} }
} }
] ],
"id": "toilet-changing_table:location"
} }
] ]
} }

View file

@ -324,7 +324,8 @@
"denotation=natural_monument", "denotation=natural_monument",
"name~*" "name~*"
] ]
} },
"id": "tree_node-name"
}, },
{ {
"question": { "question": {
@ -435,7 +436,8 @@
"heritage=4", "heritage=4",
"heritage:operator=OnroerendErfgoed" "heritage:operator=OnroerendErfgoed"
] ]
} },
"id": "tree_node-ref:OnroerendErfgoed"
}, },
{ {
"render": { "render": {
@ -461,7 +463,8 @@
"denotation=natural_monument", "denotation=natural_monument",
"wikidata~*" "wikidata~*"
] ]
} },
"id": "tree_node-wikidata"
} }
], ],
"icon": { "icon": {

View file

@ -67,7 +67,8 @@
"render": "{description}", "render": "{description}",
"freeform": { "freeform": {
"key": "description" "key": "description"
} },
"id": "viewpoint-description"
} }
] ]
} }