From 7c1511c79d316e35fff401c475a6f12f5196bd65 Mon Sep 17 00:00:00 2001 From: Victor Wu Date: Thu, 25 Apr 2019 15:27:02 +0000 Subject: Externalize left sidebar strings --- app/views/shared/_sidebar_toggle_button.html.haml | 4 ++-- locale/gitlab.pot | 3 +++ 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 "" -- cgit v1.2.1