summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Wu <wu.victor@gmail.com>2019-04-23 09:32:48 +0000
committerSean McGivern <sean@gitlab.com>2019-04-23 09:32:48 +0000
commite173fc4adc00f25d9e2301623e216f57a4ba6eec (patch)
tree9bde26997759652721fdf442b46a9282623b96ed
parentf59ea61bc8636e2f49c67058db7939eed8febb10 (diff)
downloadgitlab-ce-e173fc4adc00f25d9e2301623e216f57a4ba6eec.tar.gz
Externalize some strings in issue page and new issue page
-rw-r--r--app/views/projects/issues/new.html.haml8
-rw-r--r--app/views/projects/issues/show.html.haml4
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/issues/new.html.haml b/app/views/projects/issues/new.html.haml
index 9a081a42b6f..c6ff0d50ef4 100644
--- a/app/views/projects/issues/new.html.haml
+++ b/app/views/projects/issues/new.html.haml
@@ -1,9 +1,9 @@
-- add_to_breadcrumbs "Issues", project_issues_path(@project)
-- breadcrumb_title "New"
-- page_title "New Issue"
+- add_to_breadcrumbs _("Issues"), project_issues_path(@project)
+- breadcrumb_title _("New")
+- page_title _("New Issue")
%h3.page-title
- New Issue
+ _("New Issue")
%hr
= render "form"
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 4bf1d8702af..57d13b99b21 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -1,7 +1,7 @@
- @content_class = "limit-container-width" unless fluid_layout
-- add_to_breadcrumbs "Issues", project_issues_path(@project)
+- add_to_breadcrumbs _("Issues"), project_issues_path(@project)
- breadcrumb_title @issue.to_reference
-- page_title "#{@issue.title} (#{@issue.to_reference})", "Issues"
+- page_title "#{@issue.title} (#{@issue.to_reference})", _("Issues")
- page_description @issue.description
- page_card_attributes @issue.card_attributes