summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-04-23 09:32:49 +0000
committerSean McGivern <sean@gitlab.com>2019-04-23 09:32:49 +0000
commitd3902ca028c3ee5441e35d505d4bfd32c86e03f2 (patch)
tree9bde26997759652721fdf442b46a9282623b96ed
parentf59ea61bc8636e2f49c67058db7939eed8febb10 (diff)
parente173fc4adc00f25d9e2301623e216f57a4ba6eec (diff)
downloadgitlab-ce-60811-docs-feedback-add-available-in-which-plan.tar.gz
Merge branch 'patch-53' into 'master'60811-docs-feedback-add-available-in-which-plan
Externalize some strings in issue page and new issue page See merge request gitlab-org/gitlab-ce!27529
-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