@@ -27,24 +27,24 @@ class SearchBox {
27
27
dom . buildDom ( [ "div" , { class :"ace_search right" } ,
28
28
[ "span" , { action : "hide" , class : "ace_searchbtn_close" } ] ,
29
29
[ "div" , { class : "ace_search_form" } ,
30
- [ "input" , { class : "ace_search_field" , placeholder : nls ( "Search for" ) , spellcheck : "false" } ] ,
30
+ [ "input" , { class : "ace_search_field" , placeholder : nls ( "search-box.find.placeholder" , " Search for") , spellcheck : "false" } ] ,
31
31
[ "span" , { action : "findPrev" , class : "ace_searchbtn prev" } , "\u200b" ] ,
32
32
[ "span" , { action : "findNext" , class : "ace_searchbtn next" } , "\u200b" ] ,
33
- [ "span" , { action : "findAll" , class : "ace_searchbtn" , title : "Alt-Enter" } , nls ( "All" ) ]
33
+ [ "span" , { action : "findAll" , class : "ace_searchbtn" , title : "Alt-Enter" } , nls ( "search-box.find-all.text" , " All") ]
34
34
] ,
35
35
[ "div" , { class : "ace_replace_form" } ,
36
- [ "input" , { class : "ace_search_field" , placeholder : nls ( "Replace with" ) , spellcheck : "false" } ] ,
37
- [ "span" , { action : "replaceAndFindNext" , class : "ace_searchbtn" } , nls ( "Replace" ) ] ,
38
- [ "span" , { action : "replaceAll" , class : "ace_searchbtn" } , nls ( "All" ) ]
36
+ [ "input" , { class : "ace_search_field" , placeholder : nls ( "search-box.replace.placeholder" , " Replace with") , spellcheck : "false" } ] ,
37
+ [ "span" , { action : "replaceAndFindNext" , class : "ace_searchbtn" } , nls ( "search-box.replace-next.text" , " Replace") ] ,
38
+ [ "span" , { action : "replaceAll" , class : "ace_searchbtn" } , nls ( "search-box.replace-all.text" , " All") ]
39
39
] ,
40
40
[ "div" , { class : "ace_search_options" } ,
41
- [ "span" , { action : "toggleReplace" , class : "ace_button" , title : nls ( "Toggle Replace mode" ) ,
41
+ [ "span" , { action : "toggleReplace" , class : "ace_button" , title : nls ( "search-box.toggle-replace.title" , " Toggle Replace mode") ,
42
42
style : "float:left;margin-top:-2px;padding:0 5px;" } , "+" ] ,
43
43
[ "span" , { class : "ace_search_counter" } ] ,
44
- [ "span" , { action : "toggleRegexpMode" , class : "ace_button" , title : nls ( "RegExp Search" ) } , ".*" ] ,
45
- [ "span" , { action : "toggleCaseSensitive" , class : "ace_button" , title : nls ( "CaseSensitive Search" ) } , "Aa" ] ,
46
- [ "span" , { action : "toggleWholeWords" , class : "ace_button" , title : nls ( "Whole Word Search" ) } , "\\b" ] ,
47
- [ "span" , { action : "searchInSelection" , class : "ace_button" , title : nls ( "Search In Selection" ) } , "S" ]
44
+ [ "span" , { action : "toggleRegexpMode" , class : "ace_button" , title : nls ( "search-box.toggle-regexp.title" , " RegExp Search") } , ".*" ] ,
45
+ [ "span" , { action : "toggleCaseSensitive" , class : "ace_button" , title : nls ( "search-box.toggle-case.title" , " CaseSensitive Search") } , "Aa" ] ,
46
+ [ "span" , { action : "toggleWholeWords" , class : "ace_button" , title : nls ( "search-box.toggle-whole-word.title" , " Whole Word Search") } , "\\b" ] ,
47
+ [ "span" , { action : "searchInSelection" , class : "ace_button" , title : nls ( "search-box.toggle-in-selection.title" , " Search In Selection") } , "S" ]
48
48
]
49
49
] , div ) ;
50
50
/**@type {any }*/
@@ -234,7 +234,7 @@ class SearchBox {
234
234
}
235
235
}
236
236
}
237
- this . searchCounter . textContent = nls ( "$0 of $1" , [ before , ( all > MAX_COUNT ? MAX_COUNT + "+" : all ) ] ) ;
237
+ this . searchCounter . textContent = nls ( "search-box.search-counter" , " $0 of $1", [ before , ( all > MAX_COUNT ? MAX_COUNT + "+" : all ) ] ) ;
238
238
}
239
239
findNext ( ) {
240
240
this . find ( true , false ) ;
0 commit comments