Generate translations, format

This commit is contained in:
Robin van der Linde 2022-07-10 19:47:17 +00:00 committed by GitHub
parent 764f9956a9
commit b4e2c69568
10 changed files with 137 additions and 28 deletions

View file

@ -711,7 +711,7 @@
} }
], ],
"description": { "description": {
"nl": "Deze laag toont zitbanken en enkele vragen over deze zitbanken", "nl": "Een zitbank is een houten, metalen, stenen, … oppervlak waar een mens kan zitten. Deze laag toont ze en stelt er enkele vragen over.",
"en": "A bench is a wooden, metal, stone, … surface where a human can sit. This layers visualises them and asks a few questions about them.", "en": "A bench is a wooden, metal, stone, … surface where a human can sit. This layers visualises them and asks a few questions about them.",
"fr": "Un banc est une surface en bois, métal, pierre… sur laquelle un humain peut s'asseoir. Cette couche permet de les visualiser et pose des questions à leur sujet.", "fr": "Un banc est une surface en bois, métal, pierre… sur laquelle un humain peut s'asseoir. Cette couche permet de les visualiser et pose des questions à leur sujet.",
"de": "Diese Karte stellt Sitzbänke aus Holz, Metall, Stein, … dar und stellt ein paar Fragen, um weitere Informationen zu ergänzen.", "de": "Diese Karte stellt Sitzbänke aus Holz, Metall, Stein, … dar und stellt ein paar Fragen, um weitere Informationen zu ergänzen.",

View file

@ -141,7 +141,8 @@
"en": "<h3>Contains {_contained_climbing_routes_count} routes</h3> <ul>{_contained_climbing_routes}</ul>", "en": "<h3>Contains {_contained_climbing_routes_count} routes</h3> <ul>{_contained_climbing_routes}</ul>",
"fr": "<h3>Contient {_contained_climbing_routes_count} voies</h3> <ul>{_contained_climbing_routes}</ul>", "fr": "<h3>Contient {_contained_climbing_routes_count} voies</h3> <ul>{_contained_climbing_routes}</ul>",
"it": "<h3>Contiene {_contained_climbing_routes_count} vie</h3> <ul>{_contained_climbing_routes}</ul>", "it": "<h3>Contiene {_contained_climbing_routes_count} vie</h3> <ul>{_contained_climbing_routes}</ul>",
"de": "<h3> Enthält {_contained_climbing_routes_count} Routen</h3> <ul>{_contained_climbing_routes}</ul>" "de": "<h3> Enthält {_contained_climbing_routes_count} Routen</h3> <ul>{_contained_climbing_routes}</ul>",
"nl": "<h3>Bevat {_contained_climbing_routes_count} routes</h3> <ul>{_contained_climbing_routes}</ul>"
}, },
"condition": "_contained_climbing_routes~*", "condition": "_contained_climbing_routes~*",
"id": "Contained_climbing_routes" "id": "Contained_climbing_routes"

View file

@ -66,7 +66,8 @@
"ja": "ここで登坂はできますか?", "ja": "ここで登坂はできますか?",
"nb_NO": "Er klatring mulig her?", "nb_NO": "Er klatring mulig her?",
"fr": "Est-il possible descalader ici ?", "fr": "Est-il possible descalader ici ?",
"it": "È possibile arrampicarsi qua?" "it": "È possibile arrampicarsi qua?",
"nl": "Is klimmen hier mogelijk?"
}, },
"mappings": [ "mappings": [
{ {

View file

@ -792,7 +792,8 @@
"question": { "question": {
"en": "Accepts cash", "en": "Accepts cash",
"de": "Akzeptiert Bargeld", "de": "Akzeptiert Bargeld",
"es": "Acepta efectivo" "es": "Acepta efectivo",
"nl": "Accepteert cash"
} }
} }
] ]
@ -805,7 +806,8 @@
"question": { "question": {
"en": "Accepts payment cards", "en": "Accepts payment cards",
"de": "Akzeptiert Kartenzahlung", "de": "Akzeptiert Kartenzahlung",
"es": "Acepta tarjetas de pago" "es": "Acepta tarjetas de pago",
"nl": "Accepteert betaalkaarten"
} }
} }
] ]

View file

@ -42,20 +42,23 @@
"if": "name=", "if": "name=",
"then": { "then": {
"en": "Road without a name", "en": "Road without a name",
"de": "Straße ohne Namen" "de": "Straße ohne Namen",
"nl": "Weg zonder een naam"
} }
} }
] ]
}, },
"description": { "description": {
"en": "Shows the allowed speed for every road", "en": "Shows the allowed speed for every road",
"de": "Zeigt die zulässige Geschwindigkeit für jede Straße an" "de": "Zeigt die zulässige Geschwindigkeit für jede Straße an",
"nl": "Toont de toegestane snelheid voor elke weg"
}, },
"tagRenderings": [ "tagRenderings": [
{ {
"render": { "render": {
"en": "The maximum allowed speed on this road is {maxspeed}", "en": "The maximum allowed speed on this road is {maxspeed}",
"de": "Die zulässige Höchstgeschwindigkeit auf dieser Straße ist {maxspeed}" "de": "Die zulässige Höchstgeschwindigkeit auf dieser Straße ist {maxspeed}",
"nl": "De maximum toegestane snelheid op deze weg is {maxspeed}"
}, },
"question": { "question": {
"es": "Qué velocidad tiene", "es": "Qué velocidad tiene",
@ -70,10 +73,15 @@
"mappings": [ "mappings": [
{ {
"if": { "if": {
"and":["highway=living_street","_country!=be"] "and": [
"highway=living_street",
"_country!=be"
]
}, },
"then": { "then": {
"en": "This is a living street" "en": "This is a living street, which has a maxspeed of 20km/h",
"de": "Dies ist eine Wohnstraße, auf der eine Höchstgeschwindigkeit von 20 km/h gilt",
"nl": "Dit is een woonerf en heeft dus een maximale snelheid van 20km/h"
}, },
"icon": { "icon": {
"path": "./assets/layers/maxspeed/living_street_be.svg", "path": "./assets/layers/maxspeed/living_street_be.svg",

View file

@ -107,11 +107,13 @@
"nl": "Wat voor soort winkel is dit?" "nl": "Wat voor soort winkel is dit?"
}, },
"render": { "render": {
"en":"This is a {shop}" "en": "This is a {shop}"
}, },
"freeform": { "freeform": {
"key": "shop", "key": "shop",
"addExtraTags": ["fixme=freeform shop key used, to be reviewed"] "addExtraTags": [
"fixme=freeform shop key used, to be reviewed"
]
} }
} }
}, },

View file

@ -4276,6 +4276,9 @@
"mappings": { "mappings": {
"0": { "0": {
"then": "Dies ist eine Wohnstraße, auf der eine Höchstgeschwindigkeit von 20 km/h gilt" "then": "Dies ist eine Wohnstraße, auf der eine Höchstgeschwindigkeit von 20 km/h gilt"
},
"1": {
"then": "Dies ist eine Wohnstraße, auf der eine Höchstgeschwindigkeit von 20 km/h gilt"
} }
}, },
"question": "Wie hoch ist die zulässige Höchstgeschwindigkeit, die man auf dieser Straße fahren darf?", "question": "Wie hoch ist die zulässige Höchstgeschwindigkeit, die man auf dieser Straße fahren darf?",
@ -5281,9 +5284,6 @@
"tagRenderings": { "tagRenderings": {
"shops-name": { "shops-name": {
"question": "Wie ist der Name dieses Geschäfts?" "question": "Wie ist der Name dieses Geschäfts?"
},
"shops-type-from-id": {
"question": "Was ist das für ein Geschäft?"
} }
}, },
"title": { "title": {

View file

@ -4334,6 +4334,90 @@
"render": "Map" "render": "Map"
} }
}, },
"maproulette": {
"description": "Layer showing all tasks in MapRoulette",
"filter": {
"0": {
"options": {
"0": {
"question": "Show tasks with all statuses"
},
"1": {
"question": "Show tasks that are created"
},
"2": {
"question": "Show tasks that are fixed"
},
"3": {
"question": "Show tasks that are false positives"
},
"4": {
"question": "Show tasks that are skipped"
},
"5": {
"question": "Show tasks that are deleted"
},
"6": {
"question": "Show tasks that are already fixed"
},
"7": {
"question": "Show tasks that are marked as too hard"
},
"8": {
"question": "Show tasks that are disabled"
}
}
},
"1": {
"options": {
"0": {
"question": "Challenge name contains {search}"
}
}
},
"2": {
"options": {
"0": {
"question": "Challenge ID matches {search}"
}
}
}
},
"name": "MapRoulette Tasks",
"tagRenderings": {
"status": {
"mappings": {
"0": {
"then": "Task is created"
},
"1": {
"then": "Task is fixed"
},
"2": {
"then": "Task is a false positive"
},
"3": {
"then": "Task is skipped"
},
"4": {
"then": "Task is deleted"
},
"5": {
"then": "Task is already fixed"
},
"6": {
"then": "Task is marked as too hard"
},
"7": {
"then": "Task is disabled"
}
}
}
},
"title": {
"render": "MapRoulette Item: {parentName}"
}
},
"maxspeed": { "maxspeed": {
"description": "Shows the allowed speed for every road", "description": "Shows the allowed speed for every road",
"name": "Maxspeed", "name": "Maxspeed",
@ -4342,6 +4426,9 @@
"mappings": { "mappings": {
"0": { "0": {
"then": "This is a living street, which has a maxspeed of 20km/h" "then": "This is a living street, which has a maxspeed of 20km/h"
},
"1": {
"then": "This is a living street, which has a maxspeed of 20km/h"
} }
}, },
"question": "What is the legal maximum speed one is allowed to drive on this road?", "question": "What is the legal maximum speed one is allowed to drive on this road?",
@ -5402,7 +5489,8 @@
"tagRenderings": { "tagRenderings": {
"2": { "2": {
"override": { "override": {
"question": "What kind of shop is this?" "question": "What kind of shop is this?",
"render": "This is a {shop}"
} }
}, },
"copyshop-print-sizes": { "copyshop-print-sizes": {

View file

@ -2438,6 +2438,9 @@
"Contained routes length hist": { "Contained routes length hist": {
"render": "<h3>Overzicht van lengtes</h3>{histogram(_length_hist)}" "render": "<h3>Overzicht van lengtes</h3>{histogram(_length_hist)}"
}, },
"Contained_climbing_routes": {
"render": "<h3>Bevat {_contained_climbing_routes_count} routes</h3> <ul>{_contained_climbing_routes}</ul>"
},
"Rock type (crag/rock/cliff only)": { "Rock type (crag/rock/cliff only)": {
"mappings": { "mappings": {
"0": { "0": {
@ -2455,9 +2458,6 @@
}, },
"question": "Wat is de naam van dit Klimgelegenheid?", "question": "Wat is de naam van dit Klimgelegenheid?",
"render": "<strong>{name}</strong>" "render": "<strong>{name}</strong>"
},
"Contained_climbing_routes": {
"render": "<h3>Bevat {_contained_climbing_routes_count} routes</h3> <ul>{_contained_climbing_routes}</ul>"
} }
}, },
"title": { "title": {
@ -4182,16 +4182,27 @@
} }
}, },
"maxspeed": { "maxspeed": {
"description": "Toont de toegestane snelheid voor elke weg",
"tagRenderings": { "tagRenderings": {
"maxspeed-maxspeed": { "maxspeed-maxspeed": {
"mappings": { "mappings": {
"0": { "0": {
"then": "Dit is een woonerf en heeft dus een maximale snelheid van 20km/h" "then": "Dit is een woonerf en heeft dus een maximale snelheid van 20km/h"
},
"1": {
"then": "Dit is een woonerf en heeft dus een maximale snelheid van 20km/h"
} }
}, },
"render": "De maximum toegestane snelheid op deze weg is {maxspeed}" "render": "De maximum toegestane snelheid op deze weg is {maxspeed}"
} }
}, },
"title": {
"mappings": {
"0": {
"then": "Weg zonder een naam"
}
}
},
"units": { "units": {
"0": { "0": {
"applicableUnits": { "applicableUnits": {
@ -4205,14 +4216,6 @@
} }
} }
} }
},
"description": "Toont de toegestane snelheid voor elke weg",
"title": {
"mappings": {
"0": {
"then": "Weg zonder een naam"
}
}
} }
}, },
"nature_reserve": { "nature_reserve": {
@ -6431,4 +6434,4 @@
} }
} }
} }
} }

View file

@ -717,6 +717,10 @@
"shortDescription": "Shows changes made by MapComplete", "shortDescription": "Shows changes made by MapComplete",
"title": "Changes made with MapComplete" "title": "Changes made with MapComplete"
}, },
"maproulette": {
"description": "Theme showing MapRoulette tasks, allowing you to search, filter and fix them.",
"title": "MapRoulette Tasks"
},
"maps": { "maps": {
"description": "On this map you can find all maps OpenStreetMap knows - typically a big map on an information board showing the area, city or region, e.g. a tourist map on the back of a billboard, a map of a nature reserve, a map of cycling networks in the region, ...) <br/><br/>If a map is missing, you can easily map this map on OpenStreetMap.", "description": "On this map you can find all maps OpenStreetMap knows - typically a big map on an information board showing the area, city or region, e.g. a tourist map on the back of a billboard, a map of a nature reserve, a map of cycling networks in the region, ...) <br/><br/>If a map is missing, you can easily map this map on OpenStreetMap.",
"shortDescription": "This theme shows all (touristic) maps that OpenStreetMap knows of", "shortDescription": "This theme shows all (touristic) maps that OpenStreetMap knows of",