summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-06-07 15:46:10 +0200
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-06-08 09:38:55 +0200
commit68f58e1b44054efbf47880ebba5104870b069524 (patch)
tree1e682c3f86495d35273921735dc139803f8191d4 /app/controllers
parentacdd1bf7c92b7e9cdbd579df8faca5ea7783489f (diff)
downloadgitlab-ce-68f58e1b44054efbf47880ebba5104870b069524.tar.gz
Allow translation of Pipeline Schedules
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/pipeline_schedules_controller.rb4
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