summaryrefslogtreecommitdiff
path: root/app/models/internal_id.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/internal_id.rb')
-rw-r--r--app/models/internal_id.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/internal_id.rb b/app/models/internal_id.rb
index e7168d49db9..35ce4ec6bbf 100644
--- a/app/models/internal_id.rb
+++ b/app/models/internal_id.rb
@@ -102,7 +102,7 @@ class InternalId < ActiveRecord::Base
@init = init
@usage = usage
- raise ArgumentError, 'Scope is not well-defined, need at least one column for scope (given: 0)' if scope.empty?
+ raise ArgumentError, _('Scope is not well-defined, need at least one column for scope (given: 0)') if scope.empty?
unless InternalId.usages.has_key?(usage.to_s)
raise ArgumentError, "Usage '#{usage}' is unknown. Supported values are #{InternalId.usages.keys} from InternalId.usages"