Generate translations

This commit is contained in:
Robin van der Linde 2022-07-13 11:06:43 +02:00
parent 228df2aa9d
commit ab7b6d9d46
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
8 changed files with 232 additions and 175 deletions

View file

@ -1,147 +1,147 @@
{ {
"id": "doctors", "id": "doctors",
"name": { "name": {
"en": "doctors" "en": "doctors"
},
"description": {
"en": "This layer shows doctor offices, dentists and other healthcare facilities"
},
"source": {
"osmTags": {
"or": [
"amenity=doctors",
"amenity=dentist",
"healthcare=physiotherapist"
]
}
},
"title": {
"render": {
"en": "Doctors Office {name}"
}, },
"description": { "mappings": [
"en": "This layer shows doctor offices, dentists and other healthcare facilities" {
}, "if": "amenity=doctors",
"source": { "then": "Doctors Office {name}"
"osmTags": { },
"or": [ {
"amenity=doctors", "if": "amenity=dentist",
"amenity=dentist", "then": "Dentists office {name}"
"healthcare=physiotherapist" },
] {
} "if": "healthcare=physiotherapist",
}, "then": "Physiotherapists office {name}"
"title": { }
"render": {
"en": "Doctors Office {name}"
},
"mappings": [
{
"if": "amenity=doctors",
"then": "Doctors Office {name}"
},
{
"if": "amenity=dentist",
"then": "Dentists office {name}"
},
{
"if": "healthcare=physiotherapist",
"then": "Physiotherapists office {name}"
}
]
},
"minzoom": 13,
"tagRenderings": [
"images",
"opening_hours",
"phone",
"email",
"website",
{
"question": {
"en": "What is the name of this doctors place?"
},
"render": {
"en": "This doctors place is called {name}"
},
"freeform": {
"key": "name"
},
"id": "name"
},
{
"condition": "amenity=doctors",
"id": "specialty",
"render": {
"en": "This doctor is specialized in {healthcare:speciality}"
},
"question": {
"en": "What is this doctor specialized in?"
},
"freeform": {
"key": "healthcare:speciality"
},
"mappings": [
{
"if": "healthcare:speciality=general",
"then": {
"en": "This is a general practitioner"
}
},
{
"if": "healthcare:speciality=gynaecology",
"then": {
"en": "This is a gynaecologist"
}
},
{
"if": "healthcare:speciality=psychiatry",
"then": {
"en": "This is a psychiatrist"
}
},
{
"if": "healthcare:speciality=paediatrics",
"then": {
"en": "This is a paediatrician"
}
}
]
}
],
"presets": [
{
"title": {
"en": "a doctors office"
},
"tags": [
"amenity=doctors"
]
},
{
"title": {
"en": "a dentists office"
},
"tags": [
"amenity=dentist"
]
},
{
"title": {
"en": "a physiotherapists office"
},
"tags": [
"healthcare=physiotherapist"
]
}
],
"filter": [
{
"id": "opened-now",
"options": [
{
"question": {
"en": "Opened now"
},
"osmTags": "_isOpen=yes"
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/layers/doctors/doctors.svg"
},
"iconSize": "40,40,center",
"location": [
"point",
"centroid"
]
}
] ]
},
"minzoom": 13,
"tagRenderings": [
"images",
"opening_hours",
"phone",
"email",
"website",
{
"question": {
"en": "What is the name of this doctors place?"
},
"render": {
"en": "This doctors place is called {name}"
},
"freeform": {
"key": "name"
},
"id": "name"
},
{
"condition": "amenity=doctors",
"id": "specialty",
"render": {
"en": "This doctor is specialized in {healthcare:speciality}"
},
"question": {
"en": "What is this doctor specialized in?"
},
"freeform": {
"key": "healthcare:speciality"
},
"mappings": [
{
"if": "healthcare:speciality=general",
"then": {
"en": "This is a general practitioner"
}
},
{
"if": "healthcare:speciality=gynaecology",
"then": {
"en": "This is a gynaecologist"
}
},
{
"if": "healthcare:speciality=psychiatry",
"then": {
"en": "This is a psychiatrist"
}
},
{
"if": "healthcare:speciality=paediatrics",
"then": {
"en": "This is a paediatrician"
}
}
]
}
],
"presets": [
{
"title": {
"en": "a doctors office"
},
"tags": [
"amenity=doctors"
]
},
{
"title": {
"en": "a dentists office"
},
"tags": [
"amenity=dentist"
]
},
{
"title": {
"en": "a physiotherapists office"
},
"tags": [
"healthcare=physiotherapist"
]
}
],
"filter": [
{
"id": "opened-now",
"options": [
{
"question": {
"en": "Opened now"
},
"osmTags": "_isOpen=yes"
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/layers/doctors/doctors.svg"
},
"iconSize": "40,40,center",
"location": [
"point",
"centroid"
]
}
]
} }

View file

@ -164,9 +164,9 @@
"de": "Wie hoch ist der Bordstein?" "de": "Wie hoch ist der Bordstein?"
}, },
"render": { "render": {
"en": "Kerb height: {{kerb:height}}", "en": "Kerb height: {kerb:height}",
"nl": "Stoeprandhoogte: {{kerb:height}}", "nl": "Stoeprandhoogte: {kerb:height}",
"de": "Bordsteinhöhe: {{kerb:height}}" "de": "Bordsteinhöhe: {kerb:height}"
}, },
"freeform": { "freeform": {
"key": "kerb:height", "key": "kerb:height",

View file

@ -7,8 +7,7 @@
"en": "A layer showing pedestrian crossings with rainbow paintings" "en": "A layer showing pedestrian crossings with rainbow paintings"
}, },
"source": { "source": {
"osmTags": "osmTags": "highway=crossing"
"highway=crossing"
}, },
"minzoom": 17, "minzoom": 17,
"title": { "title": {
@ -77,10 +76,12 @@
{ {
"icon": { "icon": {
"render": "./assets/themes/rainbow_crossings/crossing.svg", "render": "./assets/themes/rainbow_crossings/crossing.svg",
"mappings": [{ "mappings": [
"if": "crossing:marking=rainbow", {
"then": "./assets/themes/rainbow_crossings/logo.svg" "if": "crossing:marking=rainbow",
}] "then": "./assets/themes/rainbow_crossings/logo.svg"
}
]
}, },
"iconSize": "40,40,center", "iconSize": "40,40,center",
"location": [ "location": [

View file

@ -2,15 +2,18 @@
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"title": { "title": {
"en": "Changes made with MapComplete", "en": "Changes made with MapComplete",
"nl": "Wijzigingen gemaakt met MapComplete" "nl": "Wijzigingen gemaakt met MapComplete",
"de": "Mit MapComplete vorgenommene Änderungen"
}, },
"shortDescription": { "shortDescription": {
"en": "Shows changes made by MapComplete", "en": "Shows changes made by MapComplete",
"nl": "Toont wijzigingen gemaakt met MapComplete" "nl": "Toont wijzigingen gemaakt met MapComplete",
"de": "Zeigt die mit MapComplete vorgenommenen Änderungen"
}, },
"description": { "description": {
"en": "This maps shows all the changes made with MapComplete", "en": "This maps shows all the changes made with MapComplete",
"nl": "Deze kaart toont alle wijzigingen die met MapComplete werden gemaakt" "nl": "Deze kaart toont alle wijzigingen die met MapComplete werden gemaakt",
"de": "Diese Karte zeigt alle mit MapComplete vorgenommenen Änderungen"
}, },
"maintainer": "", "maintainer": "",
"icon": "./assets/svg/logo.svg", "icon": "./assets/svg/logo.svg",
@ -25,7 +28,8 @@
{ {
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"name": { "name": {
"en": "Changeset centers" "en": "Changeset centers",
"de": "Zentrum der Änderungssätze"
}, },
"minzoom": 0, "minzoom": 0,
"source": { "source": {
@ -40,40 +44,46 @@
"title": { "title": {
"render": { "render": {
"en": "Changeset for {theme}", "en": "Changeset for {theme}",
"nl": "Wijzigingset voor {theme}" "nl": "Wijzigingset voor {theme}",
"de": "Änderungssatz für {theme}"
} }
}, },
"description": { "description": {
"en": "Shows all MapComplete changes", "en": "Shows all MapComplete changes",
"nl": "Toont alle wijzigingen met MapComplete" "nl": "Toont alle wijzigingen met MapComplete",
"de": "Zeigt alle MapComplete Änderungen"
}, },
"tagRenderings": [ "tagRenderings": [
{ {
"id": "render_id", "id": "render_id",
"render": { "render": {
"en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>", "en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>",
"nl": "Wijzigingset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>" "nl": "Wijzigingset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>",
"de": "Änderungssatz <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
} }
}, },
{ {
"id": "contributor", "id": "contributor",
"render": { "render": {
"en": "Change made by <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>", "en": "Change made by <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>",
"nl": "Wijziging gemaakt door <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>" "nl": "Wijziging gemaakt door <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>",
"de": "Geändert von <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>"
} }
}, },
{ {
"id": "theme", "id": "theme",
"render": { "render": {
"en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>", "en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>",
"nl": "Wijziging met thema <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>" "nl": "Wijziging met thema <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>",
"de": "Änderung mit Thema <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>"
}, },
"mappings": [ "mappings": [
{ {
"if": "theme~http.*", "if": "theme~http.*",
"then": { "then": {
"en": "Change with <b>unofficial</b> theme <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>", "en": "Change with <b>unofficial</b> theme <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>",
"nl": "Wijziging met <b>officieus</b> thema <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>" "nl": "Wijziging met <b>officieus</b> thema <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>",
"de": "Änderung mit <b>inoffiziellem</b> Thema <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>"
} }
} }
] ]
@ -370,7 +380,8 @@
], ],
"question": { "question": {
"en": "Themename contains {search}", "en": "Themename contains {search}",
"nl": "Themanaam bevat {search}" "nl": "Themanaam bevat {search}",
"de": "Themenname enthält {search}"
} }
} }
] ]
@ -387,7 +398,8 @@
], ],
"question": { "question": {
"en": "Made by contributor {search}", "en": "Made by contributor {search}",
"nl": "Gemaakt door bijdrager {search}" "nl": "Gemaakt door bijdrager {search}",
"de": "Erstellt von {search}"
} }
} }
] ]
@ -404,7 +416,8 @@
], ],
"question": { "question": {
"en": "<b>Not</b> made by contributor {search}", "en": "<b>Not</b> made by contributor {search}",
"nl": "<b>Niet</b> gemaakt door bijdrager {search}" "nl": "<b>Niet</b> gemaakt door bijdrager {search}",
"de": "<b>Nicht</b> erstellt von {search}"
} }
} }
] ]
@ -420,7 +433,8 @@
"id": "link_to_more", "id": "link_to_more",
"render": { "render": {
"en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>", "en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>",
"nl": "Meer statistieken kunnen <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>hier</a> gevonden worden" "nl": "Meer statistieken kunnen <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>hier</a> gevonden worden",
"de": "Weitere Statistiken finden Sie <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>hier</a>"
} }
}, },
{ {

View file

@ -1,10 +1,10 @@
{ {
"id": "onwheels", "id": "onwheels",
"title": { "title": {
"en": "OnWheels" "en": "OnWheels"
}, },
"description": { "description": {
"en": "On this map, publicly weelchair accessible places are shown and can be easily added" "en": "On this map, publicly weelchair accessible places are shown and can be easily added"
}, },
"maintainer": "MapComplete", "maintainer": "MapComplete",
"icon": "./assets/themes/onwheels/crest.svg", "icon": "./assets/themes/onwheels/crest.svg",
@ -29,11 +29,11 @@
"viewpoint", "viewpoint",
"doctors" "doctors"
], ],
"overrideAll" : { "overrideAll": {
"minzoom" : "15", "minzoom": "15",
"mapRendering" : [ "mapRendering": [
{ {
"label" : null "label": null
} }
] ]
} }

View file

@ -4122,7 +4122,7 @@
"placeholder": "Höhe des Bordsteins" "placeholder": "Höhe des Bordsteins"
}, },
"question": "Wie hoch ist der Bordstein?", "question": "Wie hoch ist der Bordstein?",
"render": "Bordsteinhöhe: {{kerb:height}}" "render": "Bordsteinhöhe: {kerb:height}"
}, },
"kerb-type": { "kerb-type": {
"mappings": { "mappings": {

View file

@ -3256,6 +3256,7 @@
"name": "Direction visualization" "name": "Direction visualization"
}, },
"doctors": { "doctors": {
"description": "This layer shows doctor offices, dentists and other healthcare facilities",
"filter": { "filter": {
"0": { "0": {
"options": { "options": {
@ -3278,6 +3279,10 @@
} }
}, },
"tagRenderings": { "tagRenderings": {
"name": {
"question": "What is the name of this doctors place?",
"render": "This doctors place is called {name}"
},
"specialty": { "specialty": {
"mappings": { "mappings": {
"0": { "0": {
@ -5049,6 +5054,35 @@
"render": "Bookcase" "render": "Bookcase"
} }
}, },
"rainbow_crossings": {
"description": "A layer showing pedestrian crossings with rainbow paintings",
"name": "Crossings with rainbow paintings",
"presets": {
"0": {
"description": "Pedestrian crossing",
"title": "a crossing"
}
},
"tagRenderings": {
"crossing-with-rainbow": {
"mappings": {
"0": {
"then": "This crossing has rainbow paintings"
},
"1": {
"then": "No rainbow paintings here"
},
"2": {
"then": "No rainbow paintings here"
}
},
"question": "Does this crossing has rainbow paintings?"
}
},
"title": {
"render": "Crossing"
}
},
"recycling": { "recycling": {
"description": "A layer with recycling containers and centres", "description": "A layer with recycling containers and centres",
"filter": { "filter": {

View file

@ -741,6 +741,10 @@
"shortDescription": "Publicly accessible towers to enjoy the view", "shortDescription": "Publicly accessible towers to enjoy the view",
"title": "Observation towers" "title": "Observation towers"
}, },
"onwheels": {
"description": "On this map, publicly weelchair accessible places are shown and can be easily added",
"title": "OnWheels"
},
"openwindpowermap": { "openwindpowermap": {
"description": "A map for showing and editing wind turbines.", "description": "A map for showing and editing wind turbines.",
"title": "OpenWindPowerMap" "title": "OpenWindPowerMap"
@ -863,6 +867,10 @@
"shortDescription": "A map showing postboxes and post offices", "shortDescription": "A map showing postboxes and post offices",
"title": "Postbox and Post Office Map" "title": "Postbox and Post Office Map"
}, },
"rainbow_crossings": {
"description": "On this map, rainbow-painted pedestrian crossings are shown and can be easily added",
"title": "Rainbow pedestrian crossings"
},
"shops": { "shops": {
"description": "On this map, one can mark basic information about shops, add opening hours and phone numbers", "description": "On this map, one can mark basic information about shops, add opening hours and phone numbers",
"shortDescription": "An editable map with basic shop information", "shortDescription": "An editable map with basic shop information",