Externalize some strings in issue page and new issue page

This commit is contained in:
Victor Wu 2019-04-23 09:32:48 +00:00 committed by Sean McGivern
parent f59ea61bc8
commit e173fc4adc
2 changed files with 6 additions and 6 deletions

View file

@ -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"

View file

@ -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