Fix notifications label (#12517)

* Fix translations not being displayed

* ran `yarn manage:translations en`
This commit is contained in:
mayaeh
2019-12-02 21:39:53 +09:00
committed by Eugen Rochko
parent 9e34cf9a86
commit f9b82fa660
3 changed files with 131 additions and 7 deletions

View File

@ -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|