diff options
author | Tao Wang <twang2218@gmail.com> | 2018-06-16 08:24:56 +0300 |
---|---|---|
committer | Tao Wang <twang2218@gmail.com> | 2018-06-16 08:24:56 +0300 |
commit | 5a836446354755e6c6759227a8fbca08f77ccaa5 (patch) | |
tree | fa3e40c18f630df2960da17817d2bb45c0444e13 /app/views/shared/boards/components/_board.html.haml | |
parent | f733d4f8979a7570a9347186dbe0f8c663c2ff4f (diff) |
i18n: externalize strings from 'app/views/shared/boards'
Signed-off-by: Tao Wang <twang2218@gmail.com>
Diffstat (limited to 'app/views/shared/boards/components/_board.html.haml')
-rw-r--r-- | app/views/shared/boards/components/_board.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/boards/components/_board.html.haml b/app/views/shared/boards/components/_board.html.haml index 76843ce7cc0..65de6172d89 100644 --- a/app/views/shared/boards/components/_board.html.haml +++ b/app/views/shared/boards/components/_board.html.haml @@ -30,7 +30,7 @@ %board-delete{ "inline-template" => true, ":list" => "list", "v-if" => "!list.preset && list.id" } - %button.board-delete.has-tooltip.float-right{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" } + %button.board-delete.has-tooltip.float-right{ type: "button", title: _("Delete list"), "aria-label" => _("Delete list"), data: { placement: "bottom" }, "@click.stop" => "deleteBoard" } = icon("trash") .issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank"' } %span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' } @@ -39,8 +39,8 @@ %button.issue-count-badge-add-button.btn.btn-sm.btn-default.has-tooltip.js-no-trigger-collapse{ type: "button", "@click" => "showNewIssueForm", "v-if" => 'list.type !== "closed"', - "aria-label" => "New issue", - "title" => "New issue", + "aria-label" => _("New issue"), + "title" => _("New issue"), data: { placement: "top", container: "body" } } = icon("plus", class: "js-no-trigger-collapse") |