summaryrefslogtreecommitdiff
path: root/app/services/base_count_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/base_count_service.rb')
-rw-r--r--app/services/base_count_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/base_count_service.rb b/app/services/base_count_service.rb
index ad1647842b8..2a73a69542e 100644
--- a/app/services/base_count_service.rb
+++ b/app/services/base_count_service.rb
@@ -6,7 +6,7 @@ class BaseCountService
def relation_for_count
raise(
NotImplementedError,
- '"relation_for_count" must be implemented and return an ActiveRecord::Relation'
+ _('"relation_for_count" must be implemented and return an ActiveRecord::Relation')
)
end
@@ -35,7 +35,7 @@ class BaseCountService
end
def cache_key
- raise NotImplementedError, 'cache_key must be implemented and return a String'
+ raise NotImplementedError, _('cache_key must be implemented and return a String')
end
# subclasses can override to add any specific options, such as