about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authormayaeh <mayaeh@marimo-net.org>2019-12-02 21:39:53 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-12-02 13:39:53 +0100
commitf9b82fa66061912dc8faa7acc1c9cb04caf841c3 (patch)
treee890f513995672fb01b16139a2af1ed5ccb66151 /app/views
parent9e34cf9a86c38e850c423595eb6ac9a36c895cfb (diff)
Fix notifications label (#12517)
* Fix translations not being displayed

* ran `yarn manage:translations en`
Diffstat (limited to 'app/views')
-rw-r--r--app/views/settings/preferences/notifications/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/settings/preferences/notifications/show.html.haml b/app/views/settings/preferences/notifications/show.html.haml
index f71b930e7..a496be21b 100644
--- a/app/views/settings/preferences/notifications/show.html.haml
+++ b/app/views/settings/preferences/notifications/show.html.haml
@@ -4,9 +4,9 @@
 = simple_form_for current_user, url: settings_preferences_notifications_path, html: { method: :put } do |f|
   = render 'shared/error_messages', object: current_user
 
-  %h4= t('notifications.email_events')
+  %h4= t 'notifications.email_events'
 
-  %p.hint = t('notifications.email_events_hint')
+  %p.hint= t 'notifications.email_events_hint'
 
   .fields-group
     = f.simple_fields_for :notification_emails, hash_to_object(current_user.settings.notification_emails) do |ff|
@@ -25,7 +25,7 @@
     = f.simple_fields_for :notification_emails, hash_to_object(current_user.settings.notification_emails) do |ff|
       = ff.input :digest, as: :boolean, wrapper: :with_label
 
-  %h4 = t('notifications.other_settings')
+  %h4= t 'notifications.other_settings'
 
   .fields-group
     = f.simple_fields_for :interactions, hash_to_object(current_user.settings.interactions) do |ff|