@@ -41,6 +41,7 @@ define(function (require, exports, module) {
4141 KeyBindingManager = require ( "command/KeyBindingManager" ) ,
4242 Resizer = require ( "utils/Resizer" ) ,
4343 AnimationUtils = require ( "utils/AnimationUtils" ) ,
44+ Strings = require ( "strings" ) ,
4445 PluginPanelView = require ( "view/PluginPanelView" ) ,
4546 PanelView = require ( "view/PanelView" ) ,
4647 EditorManager = require ( "editor/EditorManager" ) ,
@@ -293,7 +294,7 @@ define(function (require, exports, module) {
293294 let isActive = ( panelId === _activeBottomPanelId ) ;
294295 let $tab = $ ( '<div class="bottom-panel-tab' + ( isActive ? ' active' : '' ) + '" data-panel-id="' + panelId + '">' +
295296 '<span class="bottom-panel-tab-title">' + $ ( "<span>" ) . text ( title ) . html ( ) + '</span>' +
296- '<span class="bottom-panel-tab-close-btn" title="Close ">×</span>' +
297+ '<span class="bottom-panel-tab-close-btn" title="' + Strings . CLOSE + ' ">×</span>' +
297298 '</div>' ) ;
298299 $bottomPanelTabsOverflow . append ( $tab ) ;
299300 } ) ;
@@ -541,7 +542,7 @@ define(function (require, exports, module) {
541542 $bottomPanelTabsOverflow = $ ( '<div class="bottom-panel-tabs-overflow"></div>' ) ;
542543 let $tabBarActions = $ ( '<div class="bottom-panel-tab-bar-actions"></div>' ) ;
543544 $tabBarActions . append (
544- '<span class="bottom-panel-hide-btn" title="Hide Panel "><i class="fa-solid fa-chevron-down"></i></span>'
545+ '<span class="bottom-panel-hide-btn" title="' + Strings . BOTTOM_PANEL_HIDE + ' "><i class="fa-solid fa-chevron-down"></i></span>'
545546 ) ;
546547 $bottomPanelTabBar . append ( $bottomPanelTabsOverflow ) ;
547548 $bottomPanelTabBar . append ( $tabBarActions ) ;
@@ -551,7 +552,7 @@ define(function (require, exports, module) {
551552
552553 // Create status bar chevron toggle for bottom panel
553554 $statusBarPanelToggle = $ (
554- '<div id="status-panel-toggle" class="indicator global-indicator" title="Show Bottom Panel ">' +
555+ '<div id="status-panel-toggle" class="indicator global-indicator" title="' + Strings . BOTTOM_PANEL_SHOW + ' ">' +
555556 '<i class="fa-solid fa-chevron-up"></i>' +
556557 '</div>'
557558 ) ;
@@ -580,7 +581,7 @@ define(function (require, exports, module) {
580581 $statusBarPanelToggle . find ( "i" )
581582 . removeClass ( "fa-chevron-down" )
582583 . addClass ( "fa-chevron-up" ) ;
583- $statusBarPanelToggle . attr ( "title" , "Show Bottom Panel" ) ;
584+ $statusBarPanelToggle . attr ( "title" , Strings . BOTTOM_PANEL_SHOW ) ;
584585 if ( ! _statusBarToggleInProgress ) {
585586 AnimationUtils . animateUsingClass ( $statusBarPanelToggle [ 0 ] , "flash" , 800 ) ;
586587 }
@@ -590,7 +591,7 @@ define(function (require, exports, module) {
590591 $statusBarPanelToggle . find ( "i" )
591592 . removeClass ( "fa-chevron-up" )
592593 . addClass ( "fa-chevron-down" ) ;
593- $statusBarPanelToggle . attr ( "title" , "Hide Bottom Panel" ) ;
594+ $statusBarPanelToggle . attr ( "title" , Strings . BOTTOM_PANEL_HIDE_TOGGLE ) ;
594595 if ( ! _statusBarToggleInProgress ) {
595596 AnimationUtils . animateUsingClass ( $statusBarPanelToggle [ 0 ] , "flash" , 800 ) ;
596597 }
0 commit comments