about summary refs log tree commit diff
path: root/app/views/settings
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/preferences/show.html.haml12
-rw-r--r--app/views/settings/profiles/show.html.haml8
-rw-r--r--app/views/settings/shared/_links.html.haml6
3 files changed, 13 insertions, 13 deletions
diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml
index 9fc4e91ca..21a6dbd5d 100644
--- a/app/views/settings/preferences/show.html.haml
+++ b/app/views/settings/preferences/show.html.haml
@@ -1,16 +1,16 @@
 - content_for :page_title do
-  Preferences
+  = t('settings.preferences')
 
 = simple_form_for current_user, url: settings_preferences_path, html: { method: :put } do |f|
   = render 'shared/error_messages', object: current_user
 
   = f.simple_fields_for :notification_emails, current_user.settings(:notification_emails) do |ff|
-    = ff.input :follow, as: :boolean, wrapper: :with_label, label: 'Send e-mail when someone follows you'
-    = ff.input :reblog, as: :boolean, wrapper: :with_label, label: 'Send e-mail when someone reblogs your status'
-    = ff.input :favourite, as: :boolean, wrapper: :with_label, label: 'Send e-mail when someone favourites your status'
-    = ff.input :mention, as: :boolean, wrapper: :with_label, label: 'Send e-mail when someone mentions you'
+    = ff.input :follow, as: :boolean, wrapper: :with_label
+    = ff.input :reblog, as: :boolean, wrapper: :with_label
+    = ff.input :favourite, as: :boolean, wrapper: :with_label
+    = ff.input :mention, as: :boolean, 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"
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"
diff --git a/app/views/settings/shared/_links.html.haml b/app/views/settings/shared/_links.html.haml
index 520300416..44f097950 100644
--- a/app/views/settings/shared/_links.html.haml
+++ b/app/views/settings/shared/_links.html.haml
@@ -1,7 +1,7 @@
 %ul.no-list
   - if controller_name != 'profiles'
-    %li= link_to "Edit profile", settings_profile_path
+    %li= link_to t('settings.edit_profile'), settings_profile_path
   - if controller_name != 'preferences'
-    %li= link_to "Preferences", settings_preferences_path
+    %li= link_to t('settings.preferences'), settings_preferences_path
   - if controller_name != 'registrations'
-    %li= link_to "Change password", edit_user_registration_path
+    %li= link_to t('auth.change_password'), edit_user_registration_path