mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
Make "Search for:" bookmark string localizable.
b=113341; r=morse; sr=alecf
This commit is contained in:
parent
9f45267bf1
commit
0acbbef1eb
@ -971,7 +971,8 @@ function saveSearch()
|
||||
}
|
||||
}
|
||||
|
||||
var searchTitle = "Search: '" + lastSearchText + "'"; // using " + gSites;
|
||||
var searchTitle = searchBundle.stringBundle.formatStringFromName(
|
||||
"searchTitle", [lastSearchText], 1);
|
||||
|
||||
var bmks = Components.classes[BMARKS_CONTRACTID].getService(nsIBookmarksService);
|
||||
bmks.AddBookmark(lastSearchURI, searchTitle, bmks.BOOKMARK_SEARCH_TYPE, null);
|
||||
|
@ -11,3 +11,4 @@ changeEngineTitle=Change default search engine?
|
||||
changeEngineMsg=Would you like to make %S your default search engine?
|
||||
dontAskAgainMsg=Change default engine without asking in the future
|
||||
thisEngine=this
|
||||
searchTitle=Search: '%S'
|
||||
|
Loading…
Reference in New Issue
Block a user