Add climbing club and dutch translation

This commit is contained in:
Pieter Vander Vennet 2020-11-21 15:23:57 +01:00
parent baf7b8e5ea
commit 58572853f2
2 changed files with 278 additions and 34 deletions

View file

@ -12,7 +12,8 @@
}, },
"language": [ "language": [
"de", "de",
"en" "en",
"nl"
], ],
"maintainer": "Christian Neumann <christian@utopicode.de>", "maintainer": "Christian Neumann <christian@utopicode.de>",
"icon": "./assets/themes/climbing/climbing_no_rope.svg", "icon": "./assets/themes/climbing/climbing_no_rope.svg",
@ -23,6 +24,114 @@
"widenFactor": 0.05, "widenFactor": 0.05,
"socialImage": "", "socialImage": "",
"layers": [ "layers": [
{
"id": "climbing_club",
"name": {
"nl": "Klimclub",
"en": "Climbing club"
},
"minzoom": 10,
"overpassTags": {
"or": [
"club=climbing",
{
"and": [
"sport=climbing",
{
"or": [
"office~*",
"club~*"
]
}
]
}
]
},
"title": {
"render": {
"en": "Climbing club",
"nl": "Klimclub",
"de": "Klettermöglichkeit"
},
"mappings": [
{
"if": "office~*",
"then": {
"nl": "Klimorganisatie",
"en": "Climbing NGO"
}
}
]
},
"description": {
"nl": "Een klimclub of organisatie",
"en": "A climbing club or organisations"
},
"tagRenderings": [
{
"render": {
"en": "<strong>{name}</strong>",
"nl": "<strong>{name}</strong>",
"de": "<strong>{name}</strong>"
},
"question": {
"en": "What is the name of this climbing club or NGO?",
"nl": "Wat is de naam van deze klimclub?"
},
"freeform": {
"key": "name"
}
},
"website",
"email",
"phone",
"opening_hours"
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/themes/climbing/club.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"club=sport",
"sport=climbing"
],
"title": {
"en": "Climbing club",
"nl": "Klimclub"
},
"description": {
"nl": "Een klimclub",
"en": "A climbing club"
}
},
{
"tags": [
"office=ngo",
"sport=climbing"
],
"title": {
"en": "Climbing NGO",
"nl": "Een klimorganisatie"
},
"description": {
"nl": "Een VZW die werkt rond klimmen",
"en": "A NGO workign around climbing"
}
}
],
"wayHandling": 1
},
{ {
"id": "climbing", "id": "climbing",
"name": { "name": {
@ -118,7 +227,8 @@
"id": "climbing_gym", "id": "climbing_gym",
"name": { "name": {
"de": "Kletterhallen", "de": "Kletterhallen",
"en": "Climbing gyms" "en": "Climbing gyms",
"nl": "Klimzaal"
}, },
"minzoom": 10, "minzoom": 10,
"overpassTags": { "overpassTags": {
@ -173,7 +283,8 @@
"id": "climbing_route", "id": "climbing_route",
"name": { "name": {
"en": "Climbing routes", "en": "Climbing routes",
"de": "Kletterrouten" "de": "Kletterrouten",
"nl": "Klimroute"
}, },
"minzoom": 18, "minzoom": 18,
"overpassTags": { "overpassTags": {
@ -184,7 +295,8 @@
"title": { "title": {
"render": { "render": {
"de": "Kleterroute", "de": "Kleterroute",
"en": "Climbing route" "en": "Climbing route",
"nl": "Klimroute"
} }
}, },
"tagRenderings": [ "tagRenderings": [
@ -196,7 +308,8 @@
}, },
"question": { "question": {
"en": "What is the name of this climbing route?", "en": "What is the name of this climbing route?",
"de": "Wie heißt diese Kletterroute?" "de": "Wie heißt diese Kletterroute?",
"nl": "Hoe heet deze klimroute?"
}, },
"freeform": { "freeform": {
"key": "name" "key": "name"
@ -211,7 +324,8 @@
}, },
"then": { "then": {
"en": "This climbing route doesn't have a name", "en": "This climbing route doesn't have a name",
"de": "Diese Kletterroute hat keinen Namen" "de": "Diese Kletterroute hat keinen Namen",
"nl": "Deze klimroute heeft geen naam"
} }
} }
] ]
@ -241,7 +355,9 @@
"condition": { "condition": {
"and": [ "and": [
"leisure!~sports_centre", "leisure!~sports_centre",
"sport=climbing" "sport=climbing",
"office=",
"club="
] ]
}, },
"render": "<a href='{url}' target='_blank'>{url}</a>", "render": "<a href='{url}' target='_blank'>{url}</a>",
@ -253,11 +369,14 @@
{ {
"render": { "render": {
"de": "Die Routen sind durchschnittlich <b>{climbing:length}m</b> lang", "de": "Die Routen sind durchschnittlich <b>{climbing:length}m</b> lang",
"en": "The routes are <b>{climbing:length}m</b> long in average" "en": "The routes are <b>{climbing:length}m</b> long on average",
"nl": "De klimroutes zijn gemiddeld <b>{climbing:length}m</b> lang"
}, },
"condition": { "condition": {
"and": [ "and": [
"climbing!~route", "climbing!~route",
"office=",
"club=",
{ {
"or": [ "or": [
"climbing=sport", "climbing=sport",
@ -268,7 +387,8 @@
}, },
"question": { "question": {
"de": "Wie lang sind die Routen (durchschnittlich) in Metern?", "de": "Wie lang sind die Routen (durchschnittlich) in Metern?",
"en": "What is the (average) length of the routes in meters?" "en": "What is the (average) length of the routes in meters?",
"nl": "Wat is de (gemiddelde) lengte van de klimroutes, in meter?"
}, },
"freeform": { "freeform": {
"key": "climbing:length", "key": "climbing:length",
@ -278,132 +398,175 @@
{ {
"question": { "question": {
"de": "Kann hier gebouldert werden?", "de": "Kann hier gebouldert werden?",
"en": "Is bouldering possible here?" "en": "Is bouldering possible here?",
"nl": "Is het mogelijk om hier te bolderen?"
}, },
"mappings": [ "mappings": [
{ {
"if": "climbing:boulder=yes", "if": "climbing:boulder=yes",
"then": { "then": {
"de": "Hier kann gebouldert werden", "de": "Hier kann gebouldert werden",
"en": "Bouldering is possible here" "en": "Bouldering is possible here",
"nl": "Bolderen kan hier"
} }
}, },
{ {
"if": "climbing:boulder=no", "if": "climbing:boulder=no",
"then": { "then": {
"de": "Hier kann nicht gebouldert werden", "de": "Hier kann nicht gebouldert werden",
"en": "Bouldering is not possible here" "en": "Bouldering is not possible here",
"nl": "Bolderen kan hier niet"
} }
}, },
{ {
"if": "climbing:boulder~*", "if": "climbing:boulder~*",
"then": { "then": {
"de": "Hier gibt es {climbing:boulder} Boulder-Routen", "de": "Hier gibt es {climbing:boulder} Boulder-Routen",
"en": "There are {climbing:boulder} boulder routes" "en": "There are {climbing:boulder} boulder routes",
"nl": "Er zijn hier {climbing:boulder} bolderroutes"
}, },
"hideInAnswer": true "hideInAnswer": true
} }
],
"condition": {
"and": [
"office=",
"club="
] ]
}
}, },
{ {
"question": { "question": {
"de": "Ist Toprope-Klettern hier möglich?", "de": "Ist Toprope-Klettern hier möglich?",
"en": "Is toprope climbing possible here?" "en": "Is toprope climbing possible here?",
"nl": "Is het mogelijk om hier te toprope-klimmen?"
}, },
"mappings": [ "mappings": [
{ {
"if": "climbing:toprope=yes", "if": "climbing:toprope=yes",
"then": { "then": {
"de": "Toprope-Klettern ist hier möglich", "de": "Toprope-Klettern ist hier möglich",
"en": "Toprope climbing is possible here" "en": "Toprope climbing is possible here",
"nl": "Toprope-klimmen kan hier"
} }
}, },
{ {
"if": "climbing:toprope=no", "if": "climbing:toprope=no",
"then": { "then": {
"de": "Toprope-Climbing ist hier nicht möglich", "de": "Toprope-Climbing ist hier nicht möglich",
"en": "Toprope climbing is not possible here" "en": "Toprope climbing is not possible here",
"nl": "Toprope-klimmen kan hier niet"
} }
}, },
{ {
"if": "climbing:toprope~*", "if": "climbing:toprope~*",
"then": { "then": {
"de": "Hier gibt es {climbing:toprope} Toprope-Routen", "de": "Hier gibt es {climbing:toprope} Toprope-Routen",
"en": "There are {climbing:toprope} toprope routes" "en": "There are {climbing:toprope} toprope routes",
"nl": "Er zijn hier {climbing:toprope} toprope routes"
}, },
"hideInAnswer": true "hideInAnswer": true
} }
],
"condition": {
"and": [
"office=",
"club="
] ]
}
}, },
{ {
"question": { "question": {
"de": "Ist hier Sportklettern möglich (feste Ankerpunkte)?", "de": "Ist hier Sportklettern möglich (feste Ankerpunkte)?",
"en": "Is sport climbing possible here (fixed anchors)?" "en": "Is sport climbing possible here on fixed anchors?",
"nl": "Is het mogelijk om hier te sportklimmen/voorklimmen op reeds aangebrachte haken?"
}, },
"mappings": [ "mappings": [
{ {
"if": "climbing:sport=yes", "if": "climbing:sport=yes",
"then": { "then": {
"de": "Sportklettern ist hier möglich", "de": "Sportklettern ist hier möglich",
"en": "Sport climbing is possible here" "en": "Sport climbing is possible here",
"nl": "Sportklimmen/voorklimmen kan hier"
} }
}, },
{ {
"if": "climbing:sport=no", "if": "climbing:sport=no",
"then": { "then": {
"de": "Sportklettern ist hier nicht möglich", "de": "Sportklettern ist hier nicht möglich",
"en": "Sport climbing is not possible here" "en": "Sport climbing is not possible here",
"nl": "Sportklimmen/voorklimmen kan hier niet"
} }
}, },
{ {
"if": "climbing:sport~*", "if": "climbing:sport~*",
"then": { "then": {
"de": "Hier gibt es {climbing:sport} Sportkletter-Routen", "de": "Hier gibt es {climbing:sport} Sportkletter-Routen",
"en": "There are {climbing:sport} sport climbing routes" "en": "There are {climbing:sport} sport climbing routes",
"nl": "Er zijn hier {climbing:sport} sportklimroutes/voorklimroutes"
}, },
"hideInAnswer": true "hideInAnswer": true
} }
],
"condition": {
"and": [
"office=",
"club="
] ]
}
}, },
{ {
"question": { "question": {
"de": "Ist hier traditionelles Klettern möglich (eigene Sicherung z.B. mit Klemmkleilen)?", "de": "Ist hier traditionelles Klettern möglich (eigene Sicherung z.B. mit Klemmkleilen)?",
"en": "Is traditional climbing possible here (using own gear e.g. chocks)?" "en": "Is traditional climbing possible here (using own gear e.g. chocks)?",
"nl": "Is het mogelijk om hier traditioneel te klimmen? <br/><span class='subtle'>(Dit is klimmen met klemblokjes en friends)</span>"
}, },
"mappings": [ "mappings": [
{ {
"if": "climbing:traditional=yes", "if": "climbing:traditional=yes",
"then": { "then": {
"de": "Traditionelles Klettern ist hier möglich", "de": "Traditionelles Klettern ist hier möglich",
"en": "Traditional climbing is possible here" "en": "Traditional climbing is possible here",
"nl": "Traditioneel klimmen kan hier"
} }
}, },
{ {
"if": "climbing:traditional=no", "if": "climbing:traditional=no",
"then": { "then": {
"de": "Traditionelles Klettern ist hier nicht möglich", "de": "Traditionelles Klettern ist hier nicht möglich",
"en": "Traditional climbing is not possible here" "en": "Traditional climbing is not possible here",
"nl": "Traditioneel klimmen kan hier niet"
} }
}, },
{ {
"if": "climbing:traditional~*", "if": "climbing:traditional~*",
"then": { "then": {
"de": "Hier gibt es {climbing:traditional} Routen für traditionelles Klettern", "de": "Hier gibt es {climbing:traditional} Routen für traditionelles Klettern",
"en": "There are {climbing:traditional} traditional climbing routes" "en": "There are {climbing:traditional} traditional climbing routes",
"nl": "Er zijn hier {climbing:traditional} traditionele klimroutes"
}, },
"hideInAnswer": true "hideInAnswer": true
} }
],
"condition": {
"and": [
"office=",
"club="
] ]
}
}, },
{ {
"question": { "question": {
"de": "Gibt es hier eine Speedkletter-Wand?", "de": "Gibt es hier eine Speedkletter-Wand?",
"en": "Is there a speed climbing wall?" "en": "Is there a speed climbing wall?",
"nl": "Is er een snelklimmuur (speed climbing)?"
}, },
"condition": { "condition": {
"and": [ "and": [
"leisure=sports_centre", "leisure=sports_centre",
"climbing:sport=yes" "climbing:sport=yes",
"office=",
"club="
] ]
}, },
"mappings": [ "mappings": [
@ -411,21 +574,24 @@
"if": "climbing:speed=yes", "if": "climbing:speed=yes",
"then": { "then": {
"de": "Hier gibt es eine Speedkletter-Wand", "de": "Hier gibt es eine Speedkletter-Wand",
"en": "There is a speed climbing wall" "en": "There is a speed climbing wall",
"nl": "Er is een snelklimmuur voor speed climbing"
} }
}, },
{ {
"if": "climbing:speed=no", "if": "climbing:speed=no",
"then": { "then": {
"de": "Hier gibt es keine Speedkletter-Wand", "de": "Hier gibt es keine Speedkletter-Wand",
"en": "There is no speed climbing wall" "en": "There is no speed climbing wall",
"nl": "Er is geen snelklimmuur voor speed climbing"
} }
}, },
{ {
"if": "climbing:speed~*", "if": "climbing:speed~*",
"then": { "then": {
"de": "Hier gibt es {climbing:speed} Speedkletter-Routen", "de": "Hier gibt es {climbing:speed} Speedkletter-Routen",
"en": "There are {climbing:speed} speed climbing walls" "en": "There are {climbing:speed} speed climbing walls",
"nl": "Er zijn hier {climbing:speed} snelklimmuren"
}, },
"hideInAnswer": true "hideInAnswer": true
} }

View file

@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="116"
height="106"
version="1.1"
id="svg4"
sodipodi:docname="club.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata10">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs8" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1043"
id="namedview6"
showgrid="false"
inkscape:zoom="4.4528302"
inkscape:cx="72.99966"
inkscape:cy="35.709231"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4" />
<path
d="M 58,17 C 52,7 42,0 30,0 C 13,0 0,13 0,30 C 0,63 18,68 58,106 C 98,68 116,63 116,30 C 116,13 103,0 86,0 C 74,0 64,7 58,17 z"
fill="#ff0707"
id="path2"
style="fill:#000000" />
<g
style="opacity:1;vector-effect:none;fill:#d38d5f;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="g1035"
transform="matrix(0.23378689,-0.07059172,0.07059172,0.23378689,-6.8946019,18.026566)">
<circle
style="clip-rule:evenodd;vector-effect:none;fill:#d38d5f;fill-opacity:1;fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="circle1029"
r="23.049999"
cy="92.550003"
cx="190.403" />
<path
style="clip-rule:evenodd;vector-effect:none;fill:#d38d5f;fill-opacity:1;fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path1031"
d="m 256.594,147.631 31.687,-38.824 c 3.497,-4.285 10.495,-4.362 15.628,-0.171 l 1.643,1.34 c 5.135,4.191 6.461,11.062 2.965,15.346 0,0 -37.64,46.27 -38.512,46.778 -4.412,4.632 -8.461,6.728 -13.859,4.187 L 219.024,158.816 V 186 h -60.72 V 147.316 L 104.147,74.935 C 97.898,66.584 97.135,56.595 102.44,52.627 l 1.697,-1.271 c 5.308,-3.972 14.674,-0.419 20.923,7.934 l 48.777,65.191 h 34.097 z"
inkscape:connector-curvature="0" />
<path
style="clip-rule:evenodd;vector-effect:none;fill:#d38d5f;fill-opacity:1;fill-rule:evenodd;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path1033"
d="m 220.993,219.764 13.847,50.956 37.23,48.658 c 3.849,5.028 1.842,13.032 -4.484,17.874 l -2.023,1.549 c -6.326,4.839 -14.574,4.686 -18.425,-0.347 l -38.7,-50.578 c -0.779,-1.02 -1.307,-2.164 -1.619,-3.376 -0.717,-0.833 -1.25,-1.784 -1.539,-2.848 l -7.947,-29.245 c -3.057,0.421 -6.562,0.693 -10.292,0.765 l -3.824,0.073 c -11.378,0.218 -23.561,-4.499 -24.396,-5.07 l -22.519,-15.411 -6.271,41.158 c -0.878,5.765 -7.974,9.467 -15.849,8.268 l -2.52,-0.384 c -7.874,-1.199 -13.547,-6.845 -12.668,-12.613 l 8.83,-57.962 c 0.224,-1.468 3.203,-9.405 4.99,-12.018 l 1.439,-2.103 c 4.498,-6.573 11.845,-9.371 16.41,-6.246 l 27.638,18.915 V 197.5 h 60.72 z"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB