diff options
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 215d330ed27..74c3367f4b2 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -280,6 +280,7 @@ class Event < ApplicationRecord "opened" end end + # rubocop: enable Metrics/CyclomaticComplexity # rubocop: enable Metrics/PerceivedComplexity @@ -447,9 +448,9 @@ class Event < ApplicationRecord def design_action_names { - created: _('added'), - updated: _('updated'), - destroyed: _('removed') + created: 'added', + updated: 'updated', + destroyed: 'removed' } end |