diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-01-30 05:10:37 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-01-31 04:56:51 +0000 |
commit | e33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch) | |
tree | ce5d1515f93c1e38a01c95b5e0f07f1b572f3763 /lib/api/jobs.rb | |
parent | b5f089f2b7100dffb1a346e95022f88e6ff06415 (diff) | |
download | gitlab-ce-e33e3d29ae56ddd10b66513c35f3e318ea375cb9.tar.gz |
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'lib/api/jobs.rb')
-rw-r--r-- | lib/api/jobs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/jobs.rb b/lib/api/jobs.rb index 45c694b6448..66a941dda84 100644 --- a/lib/api/jobs.rb +++ b/lib/api/jobs.rb @@ -150,7 +150,7 @@ module API build = find_build!(params[:job_id]) authorize!(:erase_build, build) - break forbidden!('Job is not erasable!') unless build.erasable? + break forbidden!(_('Job is not erasable!')) unless build.erasable? build.erase(erased_by: current_user) present build, with: Entities::Job |