Translations

stable
Xavier Julián 2015-05-07 12:10:27 +02:00 committed by Juanfran
parent 88c21fcb6a
commit 9cb6a37f3c
3 changed files with 19 additions and 9 deletions

View File

@ -531,6 +531,16 @@
"TITLE": "Services"
}
},
"USER": {
"PROFILE": {
"EDIT": "Edit profile",
"FOLLOW": "Follow",
"PROJECTS": "Projects",
"CLOSED_US": "Closed US",
"CONTACTS": "Contacts",
"REPORT": "Report Abuse"
}
},
"PROJECT": {
"WELCOME": "Welcome",
"SECTION_PROJECTS": "Projects",

View File

@ -1,12 +1,12 @@
section.profile-bar
div.profile-image-wrapper
img.profile-img(src="http://i.imgur.com/gPiHzHN.jpg", alt="{{ user.nickname }}")
div.edit-profile(title="Edit profile")
a.profile-edition(title="Edit Profile", href="")
div.edit-profile(title="{{ 'USER.PROFILE.EDIT' | translate }}")
a.profile-edition(title="{{ 'USER.PROFILE.EDIT' | translate }}", href="")
span.icon.icon-edit
span Edit Profile
span(translate="USER.PROFILE.EDIT")
a.button-green
span Follow
span(translate="USER.PROFILE.FOLLOW")
div.profile-data
h1 Silvia Rodríguez
// If user has no defined role in its profile use all its project defined roles followed by an &
@ -15,19 +15,19 @@ section.profile-bar
include ../../../svg/location.svg
span Madrid
// Remove Abuse Flag when a user is seeing itself
a.flag(href="", title="Report Abuse")
a.flag(href="", title="{{ 'USER.PROFILE.REPORT' | translate }}")
include ../../../svg/flag.svg
// These values in profile stats are not defined yet in UX. Please ask
div.profile-stats
div.stat
span.stat-number 3
span.stat-name projects
span.stat-name(translate="USER.PROFILE.PROJECTS")
div.stat
span.stat-number 67
span.stat-name us done
span.stat-name(translate="USER.PROFILE.CLOSED_US")
div.stat
span.stat-number 34
span.stat-name contacts
span.stat-name(translate="USER.PROFILE.CONTACTS")
// TODO Hide until organizations come
div.profile-organizations
h3 Organizations

View File

@ -12,7 +12,7 @@ div.profile.centered
div(tg-profile-tab="contacts", tab-title="Contacts Tab", tab-icon="icon-team")
include includes/profile-contacts
div(tg-profile-tab="favorities", tab-title="Favorites Tab", tab-icon="icon-star-fill")
div(tg-profile-tab="favorites", tab-title="Favorites Tab", tab-icon="icon-star-fill")
include includes/profile-favorites
include includes/profile-sidebar