diff options
author | Victor Wu <wu.victor@gmail.com> | 2019-04-23 12:32:48 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-04-23 12:32:48 +0300 |
commit | e173fc4adc00f25d9e2301623e216f57a4ba6eec (patch) | |
tree | 9bde26997759652721fdf442b46a9282623b96ed /app/views/projects | |
parent | f59ea61bc8636e2f49c67058db7939eed8febb10 (diff) |
Externalize some strings in issue page and new issue page
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/issues/new.html.haml | 8 | ||||
-rw-r--r-- | app/views/projects/issues/show.html.haml | 4 |
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 |