Add german translation for toilets and some missings

This commit is contained in:
ToastHawaii 2020-09-18 08:34:38 +02:00
parent 0d1499bffe
commit 34dc8b0afb
3 changed files with 161 additions and 49 deletions

View file

@ -382,12 +382,14 @@ export default class Translations {
}),
openLayerControl: new T({
"en": "Open the layer control box",
"nl": "Open de laag-instellingen"
"nl": "Open de laag-instellingen",
"de": "Das Ebenen-Kontrollkästchen öffnen"
})
,
layerNotEnabled: new T({
"en": "The layer {layer} is not enabled. Enable this layer to add a point",
"nl": "De laag {layer} is gedeactiveerd. Activeer deze om een punt toe te voegn"
"nl": "De laag {layer} is gedeactiveerd. Activeer deze om een punt toe te voegn",
"de": "Die Ebene {layer} ist nicht aktiviert. Aktivieren Sie diese Ebene, um einen Punkt hinzuzufügen"
})
},
pickLanguage: new T({
@ -802,8 +804,9 @@ export default class Translations {
"de": "Hintergrundkarte"
}),
zoomInToSeeThisLayer: new T({
"en": "Zoom in to see this layer",
"nl": "Vergroot de kaart om deze laag te zien",
"en":"Zoom in to see this layer"
"de": "Vergrößern, um diese Ebene zu sehen"
})
},
favourite: {

View file

@ -11,7 +11,7 @@
"description": {
"en": "A <b>ghost bike</b> is a memorial for a cyclist who died in a traffic accident, in the form of a white bicycle placed permanently near the accident location.<br/><br/>On this map, one can see all the ghost bikes which are known by OpenStreetMap. Is a ghost bike missing? Everyone can add or update information here - you only need to have a (free) OpenStreetMap account.",
"nl": "Een <b>Witte Fiets</b> of <b>Spookfiets</b> is een aandenken aan een fietser die bij een verkeersongeval om het leven kwam. Het gaat om een fiets die volledig wit is geschilderd en in de buurt van het ongeval werd geinstalleerd.<br/><br/>Op deze kaart zie je alle witte fietsen die door OpenStreetMap gekend zijn. Ontbreekt er een Witte Fiets of wens je informatie aan te passen? Meld je dan aan met een (gratis) OpenStreetMap account.",
"de": "Ein <b>Geisterrad</b> ist ein Denkmal für einen Radfahrer, der bei einem Verkehrsunfall ums Leben kam, in Form eines weißen Fahrrades, das dauerhaft in der Nähe des Unfallortes aufgestellt ist.<br/><br/> Auf dieser Karte kann man alle Geisterräder sehen, die OpenStreetMap kennt. Fehlt ein Geisterfahrrad? Jeder kann hier Informationen hinzufügen oder aktualisieren - Sie benötigen lediglich einen (kostenlosen) OpenStreetMap-Account."
"de": "Ein <b>Geisterrad</b> ist ein Denkmal für einen Radfahrer, der bei einem Verkehrsunfall ums Leben kam, in Form eines weißen Fahrrades, das dauerhaft in der Nähe des Unfallortes aufgestellt ist.<br/><br/> Auf dieser Karte kann man alle Geisterräder sehen, die OpenStreetMap kennt. Fehlt ein Geisterrad? Jeder kann hier Informationen hinzufügen oder aktualisieren - Sie benötigen lediglich einen (kostenlosen) OpenStreetMap-Account."
},
"icon": "./assets/layers/ghost_bike/ghost_bike.svg",
"startZoom": 1,

View file

@ -1,11 +1,18 @@
{
"id": "toilets",
"title": "Open Toilet Map",
"description": "A map of public toilets",
"title": {
"en": "Open Toilet Map",
"de": "Offene Toilette Karte"
},
"description": {
"en": "A map of public toilets",
"de": "Eine Karte der öffentlichen Toiletten"
},
"maintainer": "MapComplete",
"version": "2020-08-29",
"language": [
"en"
"en",
"de"
],
"startZoom": 12,
"startLat": 51.2095,
@ -15,9 +22,15 @@
"layers": [
{
"id": "Toilet",
"name": "Toilets",
"name": {
"en": "Toilets",
"de": "Toiletten"
},
"overpassTags": "amenity=toilets",
"title": "Toilet",
"title": {
"en": "Toilet",
"de": "Toilette"
},
"icon": {
"render": "./assets/themes/toilets/toilets.svg",
"mappings": [
@ -34,26 +47,44 @@
"wayHandling": 2,
"presets": [
{
"title": "Toilet",
"title": {
"en": "Toilet",
"de": "Toilette"
},
"tags": [
"amenity=toilets"
],
"description": "A publicly accessible toilet or restroom"
"description": {
"en": "A publicly accessible toilet or restroom",
"de": "Eine öffentlich zugängliche Toilette"
}
},
{
"title": "Toilets with wheelchair accessible toilet",
"title": {
"en": "Toilets with wheelchair accessible toilet",
"de": "Toiletten mit rollstuhlgerechter Toilette"
},
"tags": [
"amenity=toilets",
"wheelchair=yes"
],
"description": "A restroom which has at least one wheelchair-accessible toilet"
"description": {
"en": "A restroom which has at least one wheelchair-accessible toilet",
"de": "Eine Toilettenanlage mit mindestens einer rollstuhlgerechten Toilette"
}
}
],
"tagRenderings": [
"pictures",
{
"question": "Are these toilets publicly accessible?",
"render": "Access is {access}",
"question": {
"en": "Are these toilets publicly accessible?",
"de": "Sind diese Toiletten öffentlich zugänglich?"
},
"render": {
"en": "Access is {access}",
"de": "Zugang ist {access}"
},
"freeform": {
"key": "access",
"addExtraTags": [
@ -63,38 +94,65 @@
"mappings": [
{
"if": "access=yes",
"then": "Public access"
"then": {
"en": "Public access",
"de": "Öffentlicher Zugang"
}
},
{
"if": "access=customers",
"then": "Only access to customers"
"then": {
"en": "Only access to customers",
"de": "Nur Zugang für Kunden"
}
},
{
"if": "access=no",
"then": "Not accessible"
"then": {
"en": "Not accessible",
"de": "Nicht zugänglich"
}
},
{
"if": "access=key",
"then": "Accessible, but one has to ask a key to enter"
"then": {
"en": "Accessible, but one has to ask a key to enter",
"de": "Zugänglich, aber man muss einen Schlüssel für die Eingabe verlangen"
}
}
]
},
{
"question": "Are these toilets free to use?",
"question": {
"en": "Are these toilets free to use?",
"de": "Können diese Toiletten kostenlos benutzt werden?"
},
"mappings": [
{
"then": "These are paid toilets",
"then": {
"en": "These are paid toilets",
"de": "Dies sind bezahlte Toiletten"
},
"if": "fee=yes"
},
{
"if": "fee=no",
"then": "Free to use"
"then": {
"en": "Free to use",
"de": "Kostenlose Nutzung"
}
}
]
},
{
"question": "How much does one have to pay for these toilets?",
"render": "The fee is {charge}",
"question": {
"en": "How much does one have to pay for these toilets?",
"de": "Wie viel muss man für diese Toiletten bezahlen?"
},
"render": {
"en": "The fee is {charge}",
"de": "Die Gebühr beträgt {charge}"
},
"condition": "fee=yes",
"freeform": {
"key": "charge",
@ -102,75 +160,126 @@
}
},
{
"question": "Is there a dedicated toilet for wheelchair users",
"question": {
"en": "Is there a dedicated toilet for wheelchair users",
"de": "Gibt es eine Toilette für Rollstuhlfahrer?"
},
"mappings": [
{
"then": "There is a dedicated toilet for wheelchair users",
"then": {
"en": "There is a dedicated toilet for wheelchair users",
"de": "Es gibt eine Toilette für Rollstuhlfahrer"
},
"if": "wheelchair=yes"
},
{
"if": "wheelchair=no",
"then": "No wheelchair access"
"then": {
"en": "No wheelchair access",
"de": "Kein Zugang für Rollstuhlfahrer"
}
}
]
},
{
"question": "Which kind of toilets are this?",
"question": {
"en": "Which kind of toilets are this?",
"de": "Welche Art von Toiletten sind das?"
},
"mappings": [
{
"if": "toilets:position=seated",
"then": "There are only seated toilets"
"then": {
"en": "There are only seated toilets",
"de": "Es gibt nur Sitztoiletten"
}
},
{
"if": "toilets:position=urinals",
"then": "There are only urinals here"
"then": {
"en": "There are only urinals here",
"de": "Hier gibt es nur Pissoirs"
}
},
{
"if": "toilets:position=squat",
"then": "There are only squat toilets here"
"then": {
"en": "There are only squat toilets here",
"de": "Es gibt hier nur Hocktoiletten."
}
},
{
"if": "toilets:position=seated;urinals",
"then": "Both seated toilets and urinals are available here"
"then": {
"en": "Both seated toilets and urinals are available here",
"de": "Sowohl Sitztoiletten als auch Pissoirs sind hier verfügbar"
}
}
]
},
{
"question": "Is a changing table (to change diapers) available?",
"question": {
"en": "Is a changing table (to change diapers) available?",
"de": "Ist ein Wickeltisch (zum Wechseln der Windeln) vorhanden?"
},
"mappings": [
{
"then": "A changing table is available",
"then": {
"en": "A changing table is available",
"de": "Ein Wickeltisch ist verfügbar"
},
"if": "changing_table=yes"
},
{
"if": "changing_table=no",
"then": "No changing table is available"
"then": {
"en": "No changing table is available",
"de": "Es ist kein Wickeltisch verfügbar"
}
}
]
},
{
"question": "Where is the changing table located?",
"render": "The changing table is located at {changing_table:location}",
"question": {
"en": "Where is the changing table located?",
"de": "Wo befindet sich der Wickeltisch?"
},
"render": {
"en": "The changing table is located at {changing_table:location}",
"de": "Die Wickeltabelle befindet sich in {changing_table:location}"
},
"condition": "changing_table=yes",
"freeform": {
"key": "changing_table:location"
},
"mappings": [
{
"then": "The changing table is in the toilet for women. ",
"then": {
"en": "The changing table is in the toilet for women. ",
"de": "Der Wickeltisch befindet sich in der Damentoilette. "
},
"if": "changing_table:location=female_toilet"
},
{
"then": "The changing table is in the toilet for men. ",
"then": {
"en": "The changing table is in the toilet for men. ",
"de": "Der Wickeltisch befindet sich in der Herrentoilette. "
},
"if": "changing_table:location=male_toilet"
},
{
"if": "changing_table:location=wheelchair_toilet",
"then": "The changing table is in the toilet for wheelchair users. "
"then": {
"en": "The changing table is in the toilet for wheelchair users. ",
"de": "Der Wickeltisch befindet sich in der Toilette für Rollstuhlfahrer. "
}
},
{
"if": "changing_table:location=dedicated_room",
"then": "The changing table is in a dedicated room. "
"then": {
"en": "The changing table is in a dedicated room. ",
"de": "Der Wickeltisch befindet sich in einem eigenen Raum. "
}
}
]
}