[i18n] Fix User Settings > Change passowrd

stable
David Barragán Merino 2015-04-23 21:26:49 +02:00
parent ae7c26fd8a
commit f8acb6db4a
3 changed files with 12 additions and 8 deletions

View File

@ -825,10 +825,12 @@
}, },
"CHANGE_PASSWORD": { "CHANGE_PASSWORD": {
"SECTION_NAME": "Change password", "SECTION_NAME": "Change password",
"FIELD_CURRENT_PASSWORD": "Current Password", "FIELD_CURRENT_PASSWORD": "Current password",
"PLACEHOLDER_CURRENT_PASSWORD": "Your current password (or empty if you have no password yet)", "PLACEHOLDER_CURRENT_PASSWORD": "Your current password (or empty if you have no password yet)",
"FIELD_NEW_PASSWORD": "New Password", "FIELD_NEW_PASSWORD": "New password",
"FIELD_RETYPE_PASSWORD": "Retype Password", "PLACEHOLDER_NEW_PASSWORD": "Type a new password",
"FIELD_RETYPE_PASSWORD": "Retype new password",
"PLACEHOLDER_RETYPE_PASSWORD": "Retype the new password",
"ERROR_PASSWORD_MATCH": "The passwords doesn't match" "ERROR_PASSWORD_MATCH": "The passwords doesn't match"
}, },
"USER_SETTINGS": { "USER_SETTINGS": {

View File

@ -825,7 +825,9 @@
"FIELD_CURRENT_PASSWORD": "Contraseña actual", "FIELD_CURRENT_PASSWORD": "Contraseña actual",
"PLACEHOLDER_CURRENT_PASSWORD": "Tu contraseña actual (o déjalo vacío si todavía no tienes contraseña)", "PLACEHOLDER_CURRENT_PASSWORD": "Tu contraseña actual (o déjalo vacío si todavía no tienes contraseña)",
"FIELD_NEW_PASSWORD": "Nueva contraseña", "FIELD_NEW_PASSWORD": "Nueva contraseña",
"FIELD_RETYPE_PASSWORD": "Reescribe la contraseña", "PLACEHOLDER_NEW_PASSWORD": "Escribe una contraseña nueva",
"FIELD_RETYPE_PASSWORD": "Reescribe la nueva contraseña",
"PLACEHOLDER_RETYPE_PASSWORD": "Reescribe la nueva contraseña",
"ERROR_PASSWORD_MATCH": "Las contraseñas no coinciden" "ERROR_PASSWORD_MATCH": "Las contraseñas no coinciden"
}, },
"USER_SETTINGS": { "USER_SETTINGS": {

View File

@ -13,12 +13,12 @@ div.wrapper(tg-user-change-password, ng-controller="UserChangePasswordController
form form
fieldset fieldset
label(for="current-password", translate="CHANGE_PASSWORD.FIELD_CURRENT_PASSWORD") label(for="current-password", translate="CHANGE_PASSWORD.FIELD_CURRENT_PASSWORD")
input(type="password", placeholder="{{'Your current password (or empty if you have no password yet)' | translate}}", id="current-password", ng-model="currentPassword") input(type="password", placeholder="{{'CHANGE_PASSWORD.PLACEHOLDER_CURRENT_PASSWORD' | translate}}", id="current-password", ng-model="currentPassword")
fieldset fieldset
label(for="new-password", translate="CHANGE_PASSWORD.FIELD_NEW_PASSWORD") label(for="new-password", translate="CHANGE_PASSWORD.FIELD_NEW_PASSWORD")
input(type="password", placeholder="{{'CHANGE_PASSWORD.FIELD_NEW_PASSWORD' | translate}}", id="new-password", ng-model="newPassword1") input(type="password", placeholder="{{'CHANGE_PASSWORD.PLACEHOLDER_NEW_PASSWORD' | translate}}", id="new-password", ng-model="newPassword1")
fieldset fieldset
label(for="retype-password", translate) Retype Password label(for="retype-password", translate="CHANGE_PASSWORD.FIELD_RETYPE_PASSWORD")
input(type="password", placeholder="{{'CHANGE_PASSWORD.FIELD_RETYPE_PASSWORD' | translate}}", id="retype-password", ng-model="newPassword2") input(type="password", placeholder="{{'CHANGE_PASSWORD.PLACEHOLDER_RETYPE_PASSWORD' | translate}}", id="retype-password", ng-model="newPassword2")
fieldset fieldset
button.button-green.submit-button(type="submit", title="{{'COMMON.SAVE' | translate}}", translate="COMMON.SAVE") button.button-green.submit-button(type="submit", title="{{'COMMON.SAVE' | translate}}", translate="COMMON.SAVE")