diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-15 23:02:57 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-15 23:02:57 +0100 |
commit | 3ce6ac0ce2e482bc1f2784c3c7f716172b151902 (patch) | |
tree | 89052410c8e7c856bee1049464ee79463a7db48b /app/views/settings/profiles | |
parent | a4313224d93cd762fd500e687e33247025035af8 (diff) |
Adding some localizations
Diffstat (limited to 'app/views/settings/profiles')
-rw-r--r-- | app/views/settings/profiles/show.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml index df0cc3227..c2f1adb12 100644 --- a/app/views/settings/profiles/show.html.haml +++ b/app/views/settings/profiles/show.html.haml @@ -1,15 +1,15 @@ - content_for :page_title do - Edit profile + = t('settings.edit_profile') = simple_form_for @account, url: settings_profile_path, html: { method: :put } do |f| = render 'shared/error_messages', object: @account - = f.input :display_name, placeholder: 'Display name' - = f.input :note, placeholder: 'Bio' + = f.input :display_name, placeholder: t('simple_form.labels.defaults.display_name') + = f.input :note, placeholder: t('simple_form.labels.defaults.note') = f.input :avatar, wrapper: :with_label = f.input :header, wrapper: :with_label .actions - = f.button :button, 'Save changes', type: :submit + = f.button :button, t('generic.save_changes'), type: :submit .form-footer= render "settings/shared/links" |