diff options
Diffstat (limited to 'app/models/deploy_token.rb')
-rw-r--r-- | app/models/deploy_token.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/deploy_token.rb b/app/models/deploy_token.rb index 31c813edb67..a9844f627b7 100644 --- a/app/models/deploy_token.rb +++ b/app/models/deploy_token.rb @@ -105,7 +105,7 @@ class DeployToken < ApplicationRecord end def ensure_at_least_one_scope - errors.add(:base, "Scopes can't be blank") unless read_repository || read_registry + errors.add(:base, _("Scopes can't be blank")) unless read_repository || read_registry end def default_username |