diff options
Diffstat (limited to 'app/controllers/ci/lints_controller.rb')
-rw-r--r-- | app/controllers/ci/lints_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/ci/lints_controller.rb b/app/controllers/ci/lints_controller.rb index a7af3cb8345..936ff051bf1 100644 --- a/app/controllers/ci/lints_controller.rb +++ b/app/controllers/ci/lints_controller.rb @@ -10,7 +10,7 @@ module Ci if @content.blank? @status = false - @error = "Please provide content of .gitlab-ci.yml" + @error = "请提供 .gitlab-ci.yml 文件内容" else @config_processor = Ci::GitlabCiYamlProcessor.new(@content) @stages = @config_processor.stages @@ -21,7 +21,7 @@ module Ci @error = e.message @status = false rescue - @error = 'Undefined error' + @error = '未定义错误' @status = false ensure render :show |