summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Wu <wu.victor@gmail.com>2019-04-25 15:27:02 +0000
committerSean McGivern <sean@gitlab.com>2019-04-25 15:27:02 +0000
commit7c1511c79d316e35fff401c475a6f12f5196bd65 (patch)
treebc11c3f0702f51148e17172860497a082d9fbc92
parentc92d2071d5a9c31b332cb33fb4a43e0ed111a4ba (diff)
downloadgitlab-ce-7c1511c79d316e35fff401c475a6f12f5196bd65.tar.gz
Externalize left sidebar strings
-rw-r--r--app/views/shared/_sidebar_toggle_button.html.haml4
-rw-r--r--locale/gitlab.pot3
2 files changed, 5 insertions, 2 deletions
diff --git a/app/views/shared/_sidebar_toggle_button.html.haml b/app/views/shared/_sidebar_toggle_button.html.haml
index 2530db986e0..d90a6d43761 100644
--- a/app/views/shared/_sidebar_toggle_button.html.haml
+++ b/app/views/shared/_sidebar_toggle_button.html.haml
@@ -1,8 +1,8 @@
%a.toggle-sidebar-button.js-toggle-sidebar{ role: "button", type: "button", title: "Toggle sidebar" }
= sprite_icon('angle-double-left', css_class: 'icon-angle-double-left')
= sprite_icon('angle-double-right', css_class: 'icon-angle-double-right')
- %span.collapse-text Collapse sidebar
+ %span.collapse-text= _("Collapse sidebar")
= button_tag class: 'close-nav-button', type: 'button' do
= sprite_icon('close', size: 16)
- %span.collapse-text Close sidebar
+ %span.collapse-text= _("Close sidebar")
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 968db3f6932..7447139566b 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -1890,6 +1890,9 @@ msgstr ""
msgid "Close milestone"
msgstr ""
+msgid "Close sidebar"
+msgstr ""
+
msgid "Closed"
msgstr ""