@@ -122,7 +122,7 @@ define(function (require, exports, module) {
122122 $addNewSnippetBtn . addClass ( "hidden" ) ;
123123 $filterSnippetsPanel . addClass ( "hidden" ) ;
124124
125- $toolbarTitle . html ( 'Add Snippet <span id="snippets-count" class="snippets-count"></span>' ) ;
125+ $toolbarTitle . html ( ` ${ Strings . CUSTOM_SNIPPETS_ADD_PANEL_TITLE } <span id="snippets-count" class="snippets-count"></span>` ) ;
126126 }
127127
128128 /**
@@ -150,7 +150,9 @@ define(function (require, exports, module) {
150150 // add the snippet count in the toolbar (the no. of snippets added)
151151 const snippetCount = Global . SnippetHintsList . length ;
152152 const countText = snippetCount > 0 ? `(${ snippetCount } )` : "" ;
153- $toolbarTitle . html ( `Custom Snippets <span id="snippets-count" class="snippets-count">${ countText } </span>` ) ;
153+ $toolbarTitle . html (
154+ `${ Strings . CUSTOM_SNIPPETS_PANEL_TITLE } <span id="snippets-count" class="snippets-count">${ countText } </span>`
155+ ) ;
154156
155157 $ ( "#filter-snippets-input" ) . val ( "" ) ;
156158 }
@@ -175,7 +177,7 @@ define(function (require, exports, module) {
175177 $filterSnippetsPanel . addClass ( "hidden" ) ;
176178
177179 // Update toolbar title
178- $toolbarTitle . html ( 'Edit Snippet <span id="snippets-count" class="snippets-count"></span>' ) ;
180+ $toolbarTitle . html ( ` ${ Strings . CUSTOM_SNIPPETS_EDIT_PANEL_TITLE } <span id="snippets-count" class="snippets-count"></span>` ) ;
179181 }
180182
181183 /**
@@ -218,7 +220,9 @@ define(function (require, exports, module) {
218220 const $toolbarTitle = $ ( ".toolbar-title" ) ;
219221 const snippetCount = Global . SnippetHintsList . length ;
220222 const countText = snippetCount > 0 ? `(${ snippetCount } )` : "" ;
221- $toolbarTitle . html ( `Custom Snippets <span id="snippets-count" class="snippets-count">${ countText } </span>` ) ;
223+ $toolbarTitle . html (
224+ `${ Strings . CUSTOM_SNIPPETS_PANEL_TITLE } <span id="snippets-count" class="snippets-count">${ countText } </span>`
225+ ) ;
222226 }
223227
224228 exports . showEmptySnippetMessage = showEmptySnippetMessage ;
0 commit comments