From e33e3d29ae56ddd10b66513c35f3e318ea375cb9 Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Wed, 30 Jan 2019 05:10:37 +0000 Subject: Autofixed some untranslated strings --- lib/api/runner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/api/runner.rb') diff --git a/lib/api/runner.rb b/lib/api/runner.rb index c60d25b88cb..50ca31925b9 100644 --- a/lib/api/runner.rb +++ b/lib/api/runner.rb @@ -259,12 +259,12 @@ module API require_gitlab_workhorse! job = authenticate_job! - forbidden!('Job is not running!') unless job.running? + forbidden!(_('Job is not running!')) unless job.running? artifacts = UploadedFile.from_params(params, :file, JobArtifactUploader.workhorse_local_upload_path) metadata = UploadedFile.from_params(params, :metadata, JobArtifactUploader.workhorse_local_upload_path) - bad_request!('Missing artifacts file!') unless artifacts + bad_request!(_('Missing artifacts file!')) unless artifacts file_to_large! unless artifacts.size < max_artifacts_size expire_in = params['expire_in'] || -- cgit v1.2.1