From ff8f5ba55bedfafa6dfb71a0b81b8aadba477c3d Mon Sep 17 00:00:00 2001 From: arnaucode Date: Wed, 8 Feb 2017 00:21:41 +0100 Subject: [PATCH] translations updated --- www/js/translations.js | 22 +++++++++++++++++++++- www/templates/editUser.html | 25 ++++++------------------- www/templates/login.html | 4 ++-- www/templates/main.html | 6 +++--- www/templates/menu.html | 6 +++--- www/templates/newTravel.html | 6 +++--- www/templates/offerCar.html | 4 ++-- www/templates/search.html | 4 ++-- www/templates/settings.html | 2 +- www/templates/travel.html | 10 +++++----- www/templates/travels.html | 2 +- www/templates/user.html | 10 +++++----- www/templates/userLikes.html | 2 +- www/templates/userTravels.html | 4 ++-- www/templates/users.html | 2 +- 15 files changed, 58 insertions(+), 51 deletions(-) diff --git a/www/js/translations.js b/www/js/translations.js index 4604d97..8a33e89 100644 --- a/www/js/translations.js +++ b/www/js/translations.js @@ -58,7 +58,27 @@ var translations = { "history_of": "history of", "current_publications_of": "current publications of", "publications": "publications", - + "Edit_user": "Edit user", + "Save_changes": "Save changes", + "LOG_IN": "LOG IN", + "Not_account_yet?": "Not account yet?", + "profile": "profile", + "New_travel": "New travel", + "FAQ": "F.A.Q.", + "Home": "Home", + "Offer_Car": "Offer Car", + "Ask_for_Car": "Ask for Car", + "Ask_for_Package": "Ask for Package", + "Get_positions": "Get positions", + "version": "version", + "package": "package", + "seats": "seats", + "Pendent_petitions": "Pendent petitions", + "load_more": "Pendent petitions", + "view_likes": "view likes", + "Edit_profile": "Edit profile", + "Travels_offering": "Travels offering", + "Travels_joining": "Travels joining" }, "catala": { "Actual_language": "Idioma actual: ", diff --git a/www/templates/editUser.html b/www/templates/editUser.html index d35ee24..b6e9454 100644 --- a/www/templates/editUser.html +++ b/www/templates/editUser.html @@ -1,4 +1,4 @@ - +

+

+ @ +

- Save changes + {{'Save_changes' | translate}}

-
- -
diff --git a/www/templates/login.html b/www/templates/login.html index da2cfda..5400351 100644 --- a/www/templates/login.html +++ b/www/templates/login.html @@ -20,14 +20,14 @@

- {{'LOG IN' | translate}} + {{'LOG_IN' | translate}}


- Not account yet? {{'Create one' | translate}} + {{'Not_account_yet?' | translate}} {{'Create one' | translate}}

diff --git a/www/templates/newTravel.html b/www/templates/newTravel.html index c21aa33..a6c0473 100644 --- a/www/templates/newTravel.html +++ b/www/templates/newTravel.html @@ -2,15 +2,15 @@ - Offer Car + {{'Offer_Car' | translate}} - Ask for Car (not yet) + {{'Ask_for_Car' | translate}} (not yet) - Ask for Package (not yet) + {{'Ask_for_Package' | translate}} (not yet) diff --git a/www/templates/offerCar.html b/www/templates/offerCar.html index 9f77068..70b3199 100644 --- a/www/templates/offerCar.html +++ b/www/templates/offerCar.html @@ -1,4 +1,4 @@ - +
@@ -17,7 +17,7 @@
Get positions + class="o_purple300">{{'Get_positions' | translate}}
- Travels + {{'Travels' | translate}}
@@ -25,7 +25,7 @@

- Users + {{'Users' | translate}}
diff --git a/www/templates/settings.html b/www/templates/settings.html index 4524519..6b0ad8e 100644 --- a/www/templates/settings.html +++ b/www/templates/settings.html @@ -10,7 +10,7 @@

- version: CarsInCommon-v012 + {{'version' | translate}}: CarsInCommon-v012

diff --git a/www/templates/travel.html b/www/templates/travel.html index ef3be63..37ffcf9 100644 --- a/www/templates/travel.html +++ b/www/templates/travel.html @@ -28,17 +28,17 @@ tiles="tiles" id="map-simple-map">
- From: {{travel.from.name}} + {{'From' | translate}}: {{travel.from.name}}
- To: {{travel.to.name}} + {{'To' | translate}}: {{travel.to.name}}
{{travel.description}}
- package + {{'package' | translate}}
@@ -86,13 +86,13 @@ -

{{travel.joins.length}}/{{travel.seats}} seats

+

{{travel.joins.length}}/{{travel.seats}} {{'seats' | translate}}

-

Pendent petitions

+

{{'Pendent_petitions' | translate}}

- load more + {{'load_more' | translate}}
diff --git a/www/templates/user.html b/www/templates/user.html index 78b1939..9568a98 100644 --- a/www/templates/user.html +++ b/www/templates/user.html @@ -11,10 +11,10 @@

{{user.email}}

- view likes + {{'view_likes' | translate}}

- Edit profile + {{'Edit_profile' | translate}}

@@ -26,18 +26,18 @@ - {{user.travels.length}} Travels + {{user.travels.length}} {{'Travels' | translate}} - {{user.likes.length}} likes + {{user.likes.length}} {{'likes' | translate}} - {{user.likes.length}} likes + {{user.likes.length}} {{'likes' | translate}}
diff --git a/www/templates/userLikes.html b/www/templates/userLikes.html index f125a0c..6a7fade 100644 --- a/www/templates/userLikes.html +++ b/www/templates/userLikes.html @@ -1,4 +1,4 @@ - +