diff options
author | Phil Hughes <me@iamphill.com> | 2017-06-09 17:17:16 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-22 09:26:45 +0100 |
commit | 2cf075596ea4b6a918e5e50a932bd857487ceb45 (patch) | |
tree | a9b6c16b1dde13220abdb407bc75ed85406c3514 /app/helpers/commits_helper.rb | |
parent | 39eaac5aadfa04f756e0e2892f24aad0e067f7ef (diff) | |
download | gitlab-ce-2cf075596ea4b6a918e5e50a932bd857487ceb45.tar.gz |
Added internationalization to commits listcommits-internationalise
Closes #32793
Diffstat (limited to 'app/helpers/commits_helper.rb')
-rw-r--r-- | app/helpers/commits_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb index 5b5cdebe919..0accd1f8d77 100644 --- a/app/helpers/commits_helper.rb +++ b/app/helpers/commits_helper.rb @@ -85,20 +85,20 @@ module CommitsHelper if @path.blank? return link_to( - "Browse Files", + _("Browse Files"), namespace_project_tree_path(project.namespace, project, commit), class: "btn btn-default" ) elsif @repo.blob_at(commit.id, @path) return link_to( - "Browse File", + _("Browse File"), namespace_project_blob_path(project.namespace, project, tree_join(commit.id, @path)), class: "btn btn-default" ) elsif @path.present? return link_to( - "Browse Directory", + _("Browse Directory"), namespace_project_tree_path(project.namespace, project, tree_join(commit.id, @path)), class: "btn btn-default" |