diff --git a/lang/pt.json b/lang/pt.json index f22254b..b08a95b 100644 --- a/lang/pt.json +++ b/lang/pt.json @@ -1,88 +1,88 @@ { - "Objects with diet information": "", + "Objects with diet information": "Objetos com informações sobre dieta", "category:administrative": "Regiões administrativas", "category:agriculture": "Agricultura", - "category:alternative_amenities": "", + "category:alternative_amenities": "Equipamentos", "category:alternative_routes": "Rotas", "category:buildings": "Edifícios", - "category:buildings-entrances": "", - "category:buildings-figure-ground": "", - "category:buildings-height": "", - "category:buildings-start_date": "", - "category:buildings-type": "", - "category:car_amenities": "", + "category:buildings-entrances": "Entradas", + "category:buildings-figure-ground": "Cheios e vazios", + "category:buildings-height": "Altura dos edifícios", + "category:buildings-start_date": "Idade dos edifícios", + "category:buildings-type": "Tipos dos edifícios", + "category:car_amenities": "Equipamentos", "category:car_furniture": "Mobiliário urbano", "category:car_maxspeed": "Velocidade máxima", - "category:car_routes": "", - "category:children": "", - "category:coal": "", + "category:car_routes": "Rotas rodoviárias", + "category:children": "Equipamentos infantis", + "category:coal": "Carvão", "category:communication": "Comunicação", "category:construction": "Locais de construção", "category:craft": "Artesanato", "category:culture": "Cultura", "category:culture_religion": "Cultura e religião", - "category:cycle_amenities": "", + "category:cycle_amenities": "Equipamentos", "category:cycle_routes": "Ciclovias", "category:education": "Educação", "category:electric_power": "Eletricidade", "category:emergency": "Emergência", - "category:energy": "", + "category:energy": "Energia", "category:financial": "Finanças", "category:gastro": "Restauração", "category:gastro-smoking": "Restauração livre de tabaco", "category:health": "Saúde", "category:hiking_routes": "Rotas de caminhada", "category:historic": "Histórico", - "category:index": "", + "category:index": "Índice de categorias", "category:infrastructure": "Infraestrutura", "category:internet": "Acesso à Internet", - "category:law": "", + "category:law": "Direito", "category:leisure": "Lazer", "category:leisure_sport_shopping": "Lazer, desporto e compras", - "category:memorial": "", + "category:memorial": "Memoriais e monumentos", "category:military": "Militar", "category:mtb-routes": "", "category:natural": "Formações naturais", - "category:office": "", - "category:oil_gas": "", - "category:organisations": "", + "category:office": "Escritórios", + "category:oil_gas": "Petróleo e gás natural", + "category:organisations": "Organizações", "category:other": "Outros", - "category:outdoor": "", + "category:outdoor": "Atividades ao ar livre", "category:phone": "Telefone", "category:places": "Lugares", "category:places_geo": "Lugares", "category:playgrounds": "Parques infantis", "category:post": "Correios", - "category:power_routes": "", - "category:pt": "", + "category:power_routes": "Rotas energéticas", + "category:pt": "Mapa de transporte público", "category:pt:routes": "Rotas", "category:pt:stops": "", - "category:pt_amenities": "", + "category:pt_amenities": "Equipamentos", "category:public": "Serviços públicos", "category:railway": "Linhas ferroviárias", "category:railway-electrification": "Eletrificação ferroviária", "category:railway-gauge": "", "category:railway-infrastructure": "Infraestrutura ferroviária", "category:railway-maxspeed": "Velocidade máxima", - "category:railway-routes": "", + "category:railway-routes": "Rotas ferroviárias", "category:religion": "Religião", - "category:renewables": "", + "category:renewables": "Renováveis", "category:residential": "Áreas residenciais", "category:resources": "Extração de recursos", "category:services": "Serviços", "category:shop": "Compras", "category:special": "Especial", "category:sport": "Desporto", - "category:swimming_bathing": "", + "category:swimming_bathing": "Natação e banho", "category:tourism_attractions": "Turismo", "category:tourism_services": "Turismo", "category:transport": "Transportes", - "category:transport_alternative": "", + "category:transport_alternative": "Modais de transporte alternativo", "category:transport_car": "Transporte individual", "category:transport_cycle": "Ciclismo", "category:transport_pt": "Transportes públicos", "category:transport_walk": "Pedestre", - "category:walk_amenities": "", + "category:walk_amenities": "Equipamentos", "category:waste": "Lixo", "category:water": "Massas de água", "category:wikipedia": "Wikipédia", @@ -90,5 +90,10 @@ "category:xmas": "", "date format not understood": "", "outdated feature": "", - "xmas:outdated-warning": "" + "xmas:outdated-warning": "", + "category:climbing": "Escalada", + "category:developable_areas": "Áreas urbanizáveis", + "category:developments": "Planeamento e construção", + "category:proposals": "Propostas", + "category:roads": "Vias" } diff --git a/lang/tr.json b/lang/tr.json index 2993a2c..384a2c8 100644 --- a/lang/tr.json +++ b/lang/tr.json @@ -15,5 +15,27 @@ "category:climbing": "Tırmanış", "category:administrative": "İdari Alanlar", "category:communication": "İletişim", - "category:construction": "İnşaat Sahaları" + "category:construction": "İnşaat Sahaları", + "Objects with diet information": "Diyet bilgisi içeren Nesneler", + "category:alternative_amenities": "Tesisler", + "category:coal": "Kömür", + "category:culture": "Kültür", + "category:culture_religion": "Kültür ve Din", + "category:cycle_amenities": "Tesisler", + "category:cycle_routes": "Bisiklet Rotaları", + "category:developable_areas": "Gelişim Sahaları", + "category:developments": "Planlama ve İnşaat", + "category:education": "Eğitim Servisleri", + "category:electric_power": "Elektrik Enerjisi", + "category:emergency": "Acil Servisler", + "category:energy": "Enerji", + "category:financial": "Finansal", + "category:gastro": "Gastronomi", + "category:health": "Sağlık", + "category:hiking_routes": "Yürüyüş rotaları", + "category:historic": "Tarihi", + "category:index": "Kategori İndeksi", + "category:infrastructure": "Altyapı", + "category:internet": "İnternet erişimi", + "category:law": "Hukuk" } diff --git a/leisure.json b/leisure.json index fbe2449..42b03ab 100644 --- a/leisure.json +++ b/leisure.json @@ -101,7 +101,7 @@ "escape_game": "", "firepit": "", "fishing": "", - "fitness_centre": "", + "fitness_centre": "", "fitness_station": "", "garden": "", "golf_course": "", @@ -121,7 +121,7 @@ "slipway": "", "sport": "", "sports_centre": "", - "sports_hall": "", + "sports_hall": "", "stadium": "", "summer_camp": "", "swimming_area": "", diff --git a/natural.json b/natural.json index b2f09c6..132420e 100644 --- a/natural.json +++ b/natural.json @@ -20,33 +20,47 @@ "9": [ "(", "node[natural~\"^(peak|volcano|valley)$\"];", + "nwr[place~\"^(island)$\"];", ")" ], "13": [ "(", "nwr[natural~\"^(peak|volcano|wood|glacier|cape|peninsula|beach|coastline|reef|hill|valley|ridge|arete|saddle|sinkhole|cave_entrance|isthmus)$\"];", + "nwr[place~\"^(island|islet)$\"];", ")" ], "16": [ "(", "nwr[natural][natural!~\"^(water|divide|bay|strait|spring|hot_spring|geyser|tree)$\"];", + "nwr[place~\"^(island|islet)$\"];", ")" ], "18": [ "(", "nwr[natural][natural!~\"^(water|divide|bay|strait|spring|hot_spring|geyser)$\"];", + "nwr[place~\"^(island|islet)$\"];", ")" ] }, "feature": { + "pre": [ + "{% if tags.place in [ 'island', 'islet' ] %}", + "{% set key = 'place' %}", + "{% set value = tags.place %}", + "{% else %}", + "{% set key = 'natural' %}", + "{% set value = tags.natural %}", + "{% endif %}" + ], "details": "{% if tags.natural == 'peak' and tags.ele %}{{ tags.ele }}m{% endif %}", - "description": "{{ tagTrans('natural', tags.natural) }}", + "description": "{{ tagTrans(key, value) }}", "style": { - "color": "{{ const[tags.natural].color|default('#f2756a') }}" + "color": "{{ const[value].color|default('#f2756a') }}" }, - "markerSign": "{{ const[tags.natural].sign|raw }}", - "markerSymbol": "{{ markerPointer({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}", - "listMarkerSymbol": "{{ markerCircle({ fillColor: const[tags.natural].color|default('#f2756a') })|raw }}" + "markerSign": "{{ const[value].sign|raw }}", + "markerSymbol": "{{ markerPointer({ fillColor: const[value].color|default('#f2756a') })|raw }}", + "listMarkerSymbol": "{{ markerCircle({ fillColor: const[value].color|default('#f2756a') })|raw }}", + "priority": "{% if tags.name %}0{% else %}1{% endif %}" }, "filter": { "type": { @@ -54,12 +68,26 @@ "key": "natural", "type": "select", "show_default": "true", - "values": "{% set list = [] %}{% for k, v in const %}{% endfor %}", + "values": "{% set list = [] %}{% for k, v in const %}{% endfor %}", "sort": "natsort", "op": "has" } }, "const": { + "island": { + "zoom": 9, + "sign": "", + "color": "#cfb997", + "key": "place", + "group": "landform" + }, + "islet": { + "zoom": 13, + "sign": "", + "color": "#cfb997", + "key": "place", + "group": "landform" + }, "wood": { "zoom": 13, "sign": "",