Commit d321d229 authored by Victor Wu's avatar Victor Wu Committed by Sean McGivern

Externalize strings in merge request tabs

parent 1e2d4a21
...@@ -37,21 +37,21 @@ ...@@ -37,21 +37,21 @@
%ul.merge-request-tabs.nav-tabs.nav.nav-links.scrolling-tabs %ul.merge-request-tabs.nav-tabs.nav.nav-links.scrolling-tabs
%li.notes-tab.qa-notes-tab %li.notes-tab.qa-notes-tab
= tab_link_for @merge_request, :show, force_link: @commit.present? do = tab_link_for @merge_request, :show, force_link: @commit.present? do
Discussion = _("Discussion")
%span.badge.badge-pill= @merge_request.related_notes.user.count %span.badge.badge-pill= @merge_request.related_notes.user.count
- if @merge_request.source_project - if @merge_request.source_project
%li.commits-tab %li.commits-tab
= tab_link_for @merge_request, :commits do = tab_link_for @merge_request, :commits do
Commits = _("Commits")
%span.badge.badge-pill= @commits_count %span.badge.badge-pill= @commits_count
- if @pipelines.any? - if @pipelines.any?
%li.pipelines-tab %li.pipelines-tab
= tab_link_for @merge_request, :pipelines do = tab_link_for @merge_request, :pipelines do
Pipelines = _("Pipelines")
%span.badge.badge-pill.js-pipelines-mr-count= @pipelines.size %span.badge.badge-pill.js-pipelines-mr-count= @pipelines.size
%li.diffs-tab.qa-diffs-tab %li.diffs-tab.qa-diffs-tab
= tab_link_for @merge_request, :diffs do = tab_link_for @merge_request, :diffs do
Changes = _("Changes")
%span.badge.badge-pill= @merge_request.diff_size %span.badge.badge-pill= @merge_request.diff_size
.d-inline-flex.flex-wrap .d-inline-flex.flex-wrap
#js-vue-discussion-filter{ data: { default_filter: current_user&.notes_filter_for(@merge_request), #js-vue-discussion-filter{ data: { default_filter: current_user&.notes_filter_for(@merge_request),
......
...@@ -3259,6 +3259,9 @@ msgstr "" ...@@ -3259,6 +3259,9 @@ msgstr ""
msgid "Discuss a specific suggestion or question that needs to be resolved" msgid "Discuss a specific suggestion or question that needs to be resolved"
msgstr "" msgstr ""
msgid "Discussion"
msgstr ""
msgid "Dismiss" msgid "Dismiss"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment