diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-06-08 16:32:22 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-06-08 16:32:22 +0300 |
commit | 63721c0d46bc1645edea67d1b88ad33042350c8f (patch) | |
tree | cc75d4f2f7172907022b4c8fb0814da626bd1d95 /app/controllers | |
parent | 10d520de760e272be553bb4a2b1417aede2f4ca8 (diff) | |
parent | 9157c300b78314e04857c66dacdc732a8193d278 (diff) |
Merge branch 'zj-i18n-pipeline-schedules' into 'master'
Allow translation of Pipeline Schedules
See merge request !11974
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/pipeline_schedules_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/pipeline_schedules_controller.rb b/app/controllers/projects/pipeline_schedules_controller.rb index 2662a146968..ef4f083b98f 100644 --- a/app/controllers/projects/pipeline_schedules_controller.rb +++ b/app/controllers/projects/pipeline_schedules_controller.rb @@ -43,7 +43,7 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController if schedule.update(owner: current_user) redirect_to pipeline_schedules_path(@project) else - redirect_to pipeline_schedules_path(@project), alert: "Failed to change the owner" + redirect_to pipeline_schedules_path(@project), alert: _("Failed to change the owner") end end @@ -53,7 +53,7 @@ class Projects::PipelineSchedulesController < Projects::ApplicationController else redirect_to pipeline_schedules_path(@project), status: 302, - alert: "Failed to remove the pipeline schedule" + alert: _("Failed to remove the pipeline schedule") end end |