Skip to content

Commit

Permalink
Added amenity=post_office (fixes issue dotevo#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
edewaele committed Jul 30, 2015
1 parent afd64fc commit f7a0033
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 1 deletion.
Binary file added img/icons/amenity_post_office.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/poi.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var shop_icons=["alcohol",'antiques',"art",
var leisure_icons=['pitch','swimming_pool','stadium','track','sports_centre'];
var amenity_icons=['atm','bar','bank','biergarten','cafe','cinema','clinic','college','dentist','doctors','drinking_water',
'fast_food','fuel','hospital','ice_cream','kindergarten','library','nightclub',
'pub','pharmacy','restaurant','school','shelter','social_facility','stripclub','theatre','toilets','university','veterinary'];
'pub','pharmacy','restaurant','school','shelter','social_facility','stripclub','theatre','toilets','university','veterinary','post_office'];
var office_icons=[];
var craft_icons=['key_cutter','clockmaker','glaziery','photographer','shoemaker','tailor'];
var emergency_icons=['ambulance_station','defibrillator'];
Expand Down
1 change: 1 addition & 0 deletions lang/en_EN.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
define('PANEL_OFFICE_ASSOCIATION','Association');
define('PANEL_OFFICE_LAWYER','Lawyer');
define('PANEL_OFFICE_NOTARY','Notary');
define('PANEL_OFFICE_POST_OFFICE','Post office');

define('PANEL_CRAFT_LIST','Type');
define('PANEL_CRAFT_ALL','All');
Expand Down
1 change: 1 addition & 0 deletions lang/fr_FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
define('PANEL_OFFICE_ASSOCIATION','Association');
define('PANEL_OFFICE_LAWYER','Avocat');
define('PANEL_OFFICE_NOTARY','Notaire');
define('PANEL_OFFICE_POST_OFFICE','Bureau de poste');

define('PANEL_CRAFT_LIST','Type');
define('PANEL_CRAFT_ALL','Tous');
Expand Down
1 change: 1 addition & 0 deletions lang/it_IT.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
define('PANEL_OFFICE_ASSOCIATION','Associazioni');
define('PANEL_OFFICE_LAWYER','Avvocato');
define('PANEL_OFFICE_NOTARY','Notarile');
define('PANEL_OFFICE_POST_OFFICE','Post office');

define('PANEL_CRAFT_LIST','Tipo');
define('PANEL_CRAFT_ALL','Tutto');
Expand Down
1 change: 1 addition & 0 deletions lang/ru_RU.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
define('PANEL_OFFICE_ASSOCIATION','Association');
define('PANEL_OFFICE_LAWYER','Юрист');
define('PANEL_OFFICE_NOTARY','Нотариус');
define('PANEL_OFFICE_POST_OFFICE','Post office');

define('PANEL_CRAFT_LIST','Профессия');
define('PANEL_CRAFT_ALL','Все');
Expand Down
1 change: 1 addition & 0 deletions lang/uk_UA.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
define ('PANEL_OFFICE_ASSOCIATION', 'Товариство');
define ('PANEL_OFFICE_LAWYER', 'Юрист');
define ('PANEL_OFFICE_NOTARY', 'Нотаріус');
define('PANEL_OFFICE_POST_OFFICE','Post office');

define ('PANEL_CRAFT_LIST', 'Професія');
define ('PANEL_CRAFT_ALL', 'Усе');
Expand Down
1 change: 1 addition & 0 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@
<li><a id="office_association" data-tag-pair="[office=association]" data-tag-type="main"><?php echo PANEL_OFFICE_ASSOCIATION;?></a></li>
<li><a id="office_lawyer" data-tag-pair="[office=lawyer]" data-tag-type="main"><?php echo PANEL_OFFICE_LAWYER;?></a></li>
<li><a id="office_notary" data-tag-pair="[office=notary]" data-tag-type="main"><?php echo PANEL_OFFICE_NOTARY;?></a></li>
<li><a id="office_post_office" data-tag-pair="[amenity=post_office]" data-tag-type="main"><?php echo PANEL_OFFICE_POST_OFFICE;?></a></li>
</ul>
</li>

Expand Down
4 changes: 4 additions & 0 deletions taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@
{
"key": "amenity",
"value": "social_facility"
},
{
"key": "amenity",
"value": "post_office"
},
{
"key": "amenity",
Expand Down

0 comments on commit f7a0033

Please sign in to comment.