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" "TITLE": "Services"
} }
}, },
"USER": {
"PROFILE": {
"EDIT": "Edit profile",
"FOLLOW": "Follow",
"PROJECTS": "Projects",
"CLOSED_US": "Closed US",
"CONTACTS": "Contacts",
"REPORT": "Report Abuse"
}
},
"PROJECT": { "PROJECT": {
"WELCOME": "Welcome", "WELCOME": "Welcome",
"SECTION_PROJECTS": "Projects", "SECTION_PROJECTS": "Projects",

View File

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