Skip to content

Commit

Permalink
add charging station to "search nearby" POI list
Browse files Browse the repository at this point in the history
  • Loading branch information
Karry committed Feb 1, 2021
1 parent 1937de8 commit e8cd3fb
Show file tree
Hide file tree
Showing 20 changed files with 126 additions and 0 deletions.
56 changes: 56 additions & 0 deletions icons/poi/charging_station.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions qml/custom/POIIcon.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Image{
'amenity_fast_food': 'fast-food',
'amenity_fuel_building': 'fuel',
'amenity_fuel': 'fuel',
'amenity_charging_station': 'charging_station',
'amenity_grave_yard': 'religious-christian',
'amenity_hospital_building': 'hospital',
'amenity_hospital': 'hospital',
Expand Down
1 change: 1 addition & 0 deletions qml/pages/Search.qml
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ Page {
types: "railway_station railway_subway_entrance railway_tram_stop highway_bus_stop railway_halt amenity_ferry_terminal"; }

ListElement { label: QT_TR_NOOP("Fuel"); iconType: "amenity_fuel"; distance: 10000; types: "amenity_fuel amenity_fuel_building"; }
ListElement { label: QT_TR_NOOP("Charging station"); iconType: "amenity_charging_station"; distance: 10000; types: "amenity_charging_station"; }
ListElement { label: QT_TR_NOOP("Pharmacy"); iconType: "amenity_pharmacy"; distance: 10000; types: "amenity_pharmacy"; }
ListElement { label: QT_TR_NOOP("Accomodation"); iconType: "tourism_hotel"; distance: 10000;
types: "tourism_hotel tourism_hotel_building tourism_hostel tourism_hostel_building tourism_motel tourism_motel_building tourism_alpine_hut tourism_alpine_hut_building"; }
Expand Down
4 changes: 4 additions & 0 deletions translations/cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>Odebírám</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>entferne</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>Quitando</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/et.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>Eemaldan</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/fa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>Suppression</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/hu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/nb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/nl_BE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>Usuwanie</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/pt_BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>Удаление</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>Tar bort</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down
4 changes: 4 additions & 0 deletions translations/zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@
<extracomment>label for remorse timer when removing item from search history</extracomment>
<translation>正在移除</translation>
</message>
<message>
<source>Charging station</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Settings</name>
Expand Down

0 comments on commit e8cd3fb

Please sign in to comment.