Browse Source

pt: sub lists

pt
parent
commit
371ca42047
  1. 50
      pt.json

50
pt.json

@ -19,18 +19,43 @@
"pt-br": "Transporte Público", "pt-br": "Transporte Público",
"pt": "Transportes públicos" "pt": "Transportes públicos"
}, },
"name_routes": {
"de": "Routen",
"en": "Routes",
"fr": "Lignes",
"pt": "Rotas",
"pt-br": "Rotas"
},
"query": { "query": {
"12": "relation[type=route][route~\"^(subway|monorail|ferry|train)$\"];", "12": "relation[type=route][route~\"^(subway|monorail|ferry|train)$\"];",
"14": "relation[type=route][route~\"^(subway|monorail|aerialway|bus|trolleybus|ferry|train|tram)$\"];" "14": "relation[type=route][route~\"^(subway|monorail|aerialway|bus|trolleybus|ferry|train|tram)$\"];"
}, },
"members": true, "members": true,
"lists": {
"stops": {
"prefix": "listStops",
"name": {
"ast": "Paraes y estaciones",
"cs": "Zastávky & Stanice",
"de": "Haltestellen",
"el": "Στάσεις & Σταθμοί",
"en": "Stops & Stations",
"es": "Paradas y estaciones",
"fr": "Arrêts/Stops, Stations",
"hu": "Megállók és állomások",
"it": "Stazioni e fermate",
"ja": "停留所と駅",
"nl": "Haltes en Stations",
"pl": "Przystanki i Stacje",
"pt-br": "Paradas e Estações",
"ru": "Остановки и станции",
"uk": "Зупинки та станції"
}
},
"routes": {
"prefix": "listRoutes",
"name": {
"de": "Routen",
"en": "Routes",
"fr": "Lignes",
"pt": "Rotas",
"pt-br": "Rotas"
}
}
},
"feature": { "feature": {
"styles": "", "styles": "",
"title": [ "title": [
@ -40,19 +65,20 @@
], ],
"description": "{{ tagTrans('route', tags.route) }}", "description": "{{ tagTrans('route', tags.route) }}",
"body": [ "body": [
"<h4>Stops</h4>",
"<h4>Stops {{ map.zoom }}</h4>",
"{% for member in members %}", "{% for member in members %}",
"{% if member.role|slice(-4) == 'stop' %}", "{% if member.role|slice(-4) == 'stop' %}",
"<div object='{{ member.id }}' sublayer='member'><b>{{ member.tags.name }}</b></div>", "<div object='{{ member.id }}' sublayer='member'><b>{{ member.tags.name }}</b></div>",
"{% endif %}", "{% endif %}",
"{% endfor %}" "{% endfor %}"
], ],
"listMarkerSign": "{{ const[tags.route].sign|raw }}",
"listStopsExclude": "true",
"listRoutesMarkerSign": "{{ const[tags.route].sign|raw }}",
"markerSymbol": null, "markerSymbol": null,
"listMarkerSymbol": "{{ markerCircle({fillColor:const[tags.route].color})|raw }}"
"listRoutesMarkerSymbol": "{{ markerCircle({fillColor:const[tags.route].color})|raw }}"
}, },
"memberFeature": { "memberFeature": {
"listMarkerSymbol": "{{ markerCircle({})|raw }}",
"listStopsMarkerSymbol": "{{ markerCircle({})|raw }}",
"style": { "style": {
"color": [ "color": [
"{% set master = masters[0] %}", "{% set master = masters[0] %}",
@ -61,7 +87,7 @@
"width": "{% if map.zoom>=15 %}5{% else %}3{% endif %}" "width": "{% if map.zoom>=15 %}5{% else %}3{% endif %}"
}, },
"title": "{% if tags.public_transport == 'stop_position' %}{{ tags.name }}{% endif %}", "title": "{% if tags.public_transport == 'stop_position' %}{{ tags.name }}{% endif %}",
"listStopsTitle": "{{ tags.name }}: {% for master in masters %}{{ master.tags.ref }} {% endfor %}",
"listStopsTitle": "{{ tags.name }}<br/>{% for master in masters %}{{ master.tags.ref }} {% endfor %}",
"body": [ "body": [
"{% for master in masters %}", "{% for master in masters %}",
" '<div object=\"{{ master.id }}\"><b>{{ master.tags.name|default(master.tags.ref) }}</b> ({{ master.id }})</div>", " '<div object=\"{{ master.id }}\"><b>{{ master.tags.name|default(master.tags.ref) }}</b> ({{ master.id }})</div>",

Loading…
Cancel
Save