Skip to content

Commit

Permalink
Brought the map back to the navigator tab as it has been removed in the
Browse files Browse the repository at this point in the history
  • Loading branch information
skaldo committed Jun 6, 2016
1 parent 7a6a094 commit 7ffa1dd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
4 changes: 2 additions & 2 deletions CitizenApplication/app/pages/map/lang.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"prefix": "MAP_PAGE",
"en": {
"TESTING_TRANSLATE":"Dieser Text ist Deutsch:)"
"Center": "Center"
},
"de": {
"TESTING_TRANSLATE":"This text is english:)"
"Center": "Zentrieren"
}
}
12 changes: 4 additions & 8 deletions CitizenApplication/app/pages/map/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@
Template for the map page.
-->
<ion-navbar *navbar>
<ion-title>Karte</ion-title>
<ion-title>Navigator</ion-title>
<ion-nav-items secondary>
<button (click)="centerMap()">Center</button>
<button (click)="centerMap()">{{'MAP_PAGE.Center' | translate}}</button>
<!--<button (click)="addMarker(49.42282, 7.74913,'current location')">Add Marker</button>-->
</ion-nav-items>
</ion-navbar>


<ion-content>
<ion-list>
<ion-item>
{{ 'MAP_PAGE.TESTING_TRANSLATE' | translate }}
</ion-item>
</ion-list>
<ion-content class="map">
<map></map>
</ion-content>
2 changes: 1 addition & 1 deletion CitizenApplication/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"NumberPlate": "Kennzeichen",
"SelectStop": "Haltestelle wählen:",
"BusLocation": "Zeige mir meine Bus auf der Karte",
"TESTING_TRANSLATE": "This text is english:)",
"Center": "Zentrieren",
"RequestStop": "Haltewunsch äußern",
"FreeSeats": "Freie Plätze: ",
"EstimatedArrival": "Erwartete Ankunft:",
Expand Down
2 changes: 1 addition & 1 deletion CitizenApplication/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"NumberPlate": "Number plate",
"SelectStop": "Select stop:",
"BusLocation": "Where is my bus?",
"TESTING_TRANSLATE": "Dieser Text ist Deutsch:)",
"Center": "Center",
"RequestStop": "Request Stop",
"FreeSeats": "Free Seats: ",
"EstimatedArrival": "Estimated arrival:",
Expand Down

0 comments on commit 7ffa1dd

Please sign in to comment.