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": [
"de",
"en"
"en",
"nl"
],
"maintainer": "Christian Neumann <christian@utopicode.de>",
"icon": "./assets/themes/climbing/climbing_no_rope.svg",
@ -23,6 +24,114 @@
"widenFactor": 0.05,
"socialImage": "",
"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",
"name": {
@ -118,7 +227,8 @@
"id": "climbing_gym",
"name": {
"de": "Kletterhallen",
"en": "Climbing gyms"
"en": "Climbing gyms",
"nl": "Klimzaal"
},
"minzoom": 10,
"overpassTags": {
@ -173,7 +283,8 @@
"id": "climbing_route",
"name": {
"en": "Climbing routes",
"de": "Kletterrouten"
"de": "Kletterrouten",
"nl": "Klimroute"
},
"minzoom": 18,
"overpassTags": {
@ -184,7 +295,8 @@
"title": {
"render": {
"de": "Kleterroute",
"en": "Climbing route"
"en": "Climbing route",
"nl": "Klimroute"
}
},
"tagRenderings": [
@ -196,7 +308,8 @@
},
"question": {
"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": {
"key": "name"
@ -211,7 +324,8 @@
},
"then": {
"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": {
"and": [
"leisure!~sports_centre",
"sport=climbing"
"sport=climbing",
"office=",
"club="
]
},
"render": "<a href='{url}' target='_blank'>{url}</a>",
@ -253,11 +369,14 @@
{
"render": {
"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": {
"and": [
"climbing!~route",
"office=",
"club=",
{
"or": [
"climbing=sport",
@ -268,7 +387,8 @@
},
"question": {
"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": {
"key": "climbing:length",
@ -278,132 +398,175 @@
{
"question": {
"de": "Kann hier gebouldert werden?",
"en": "Is bouldering possible here?"
"en": "Is bouldering possible here?",
"nl": "Is het mogelijk om hier te bolderen?"
},
"mappings": [
{
"if": "climbing:boulder=yes",
"then": {
"de": "Hier kann gebouldert werden",
"en": "Bouldering is possible here"
"en": "Bouldering is possible here",
"nl": "Bolderen kan hier"
}
},
{
"if": "climbing:boulder=no",
"then": {
"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~*",
"then": {
"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
}
]
],
"condition": {
"and": [
"office=",
"club="
]
}
},
{
"question": {
"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": [
{
"if": "climbing:toprope=yes",
"then": {
"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",
"then": {
"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~*",
"then": {
"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
}
]
],
"condition": {
"and": [
"office=",
"club="
]
}
},
{
"question": {
"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": [
{
"if": "climbing:sport=yes",
"then": {
"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",
"then": {
"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~*",
"then": {
"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
}
]
],
"condition": {
"and": [
"office=",
"club="
]
}
},
{
"question": {
"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": [
{
"if": "climbing:traditional=yes",
"then": {
"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",
"then": {
"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~*",
"then": {
"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
}
]
],
"condition": {
"and": [
"office=",
"club="
]
}
},
{
"question": {
"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": {
"and": [
"leisure=sports_centre",
"climbing:sport=yes"
"climbing:sport=yes",
"office=",
"club="
]
},
"mappings": [
@ -411,21 +574,24 @@
"if": "climbing:speed=yes",
"then": {
"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",
"then": {
"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~*",
"then": {
"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
}

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