made change password explanations translatable [ci skip]

This commit is contained in:
Jonne Haß 2012-03-15 15:15:42 +01:00
parent 3a149d8cc7
commit 0419ca0bb6
2 changed files with 5 additions and 3 deletions

View file

@ -40,13 +40,13 @@
= f.error_messages
%p
= f.label :current_password, t('.current_password')
= f.password_field :current_password, :placeholder => "the one you sign in with..."
= f.password_field :current_password, :placeholder => t('.current_password_expl')
%p
= f.label :password, t('.new_password')
= f.password_field :password, :placeholder => 'must be at least six charaters'
= f.password_field :password, :placeholder => t('.character_minimum_expl')
%p
= f.label :password_confirmation, t('password_confirmation')
= f.password_field :password_confirmation, :placeholder => 'must be at least six charaters'
= f.password_field :password_confirmation, :placeholder => t('.character_minimum_expl')
.submit_block
= link_to t('cancel'), edit_user_path

View file

@ -955,6 +955,8 @@ en:
change_email: "Change email"
new_password: "New password"
current_password: "Current password"
current_password_expl: "the one you sign in with..."
character_minimum_expl: "must be at least six characters"
download_xml: "download my xml"
download_photos: "download my photos"
your_handle: "Your Diaspora ID"