diff options
author | Mark Chao <mchao@gitlab.com> | 2018-08-08 14:38:39 +0800 |
---|---|---|
committer | Mark Chao <mchao@gitlab.com> | 2018-08-14 17:30:51 +0800 |
commit | f8ee861cd42b35ff5d35c18dafbe4d1c425af926 (patch) | |
tree | a0cda839964f56f22ebad65b7d8bafc72f0b799f /app/models/notification_setting.rb | |
parent | bf88e9afe70e6589dd0c1c089a5a73c8d2b687c6 (diff) | |
download | gitlab-ce-f8ee861cd42b35ff5d35c18dafbe4d1c425af926.tar.gz |
Move N_ calls into separate files
These are dynamic translations, so has to be marked explicitly using `N_`,
but they are not used in runtime, so can exist in separate file.
https://github.com/grosser/gettext_i18n_rails#unfound-translations-with-rake-gettextfind
Diffstat (limited to 'app/models/notification_setting.rb')
-rw-r--r-- | app/models/notification_setting.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/notification_setting.rb b/app/models/notification_setting.rb index c5d49bd00ca..1600acfc575 100644 --- a/app/models/notification_setting.rb +++ b/app/models/notification_setting.rb @@ -45,6 +45,7 @@ class NotificationSetting < ActiveRecord::Base :success_pipeline ].freeze + # Update unfound_translations.rb when events are changed def self.email_events(source = nil) EMAIL_EVENTS end |