diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2019-03-27 16:52:52 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-03-27 16:52:52 +0000 |
commit | 5660690787b6afcf3274af4135d474645d13b671 (patch) | |
tree | 740ad2a1d105c33f464c81bb70fc2e815d692d07 /app/controllers/projects/tree_controller.rb | |
parent | 98824f3e97e24a5d6cb0688167bc8411a74739fc (diff) | |
download | gitlab-ce-5660690787b6afcf3274af4135d474645d13b671.tar.gz |
Externalize strings in projects controllers
- concerns
- dashboard
- groups
- import
Diffstat (limited to 'app/controllers/projects/tree_controller.rb')
-rw-r--r-- | app/controllers/projects/tree_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/tree_controller.rb b/app/controllers/projects/tree_controller.rb index edebfc55c17..90d53aa08ea 100644 --- a/app/controllers/projects/tree_controller.rb +++ b/app/controllers/projects/tree_controller.rb @@ -37,7 +37,7 @@ class Projects::TreeController < Projects::ApplicationController def create_dir return render_404 unless @commit_params.values.all? - create_commit(Files::CreateDirService, success_notice: "The directory has been successfully created.", + create_commit(Files::CreateDirService, success_notice: _("The directory has been successfully created."), success_path: project_tree_path(@project, File.join(@branch_name, @dir_name)), failure_path: project_tree_path(@project, @ref)) end |