rem:  searchSelectText = gNavigatorBundle.getFormattedString("searchText", [searchSelectText]); this.setItemAttr("context-searchselect", "label", searchSelectText); } return result; 
add: if (selectedText.length > 15) selectedText = selectedText.substr(0,15) + "...";    var engineName = ""; var ss = Cc["@mozilla.org/browser/search-service;1"]. getService(Ci.nsIBrowserSearchService); if (BrowserSearch.getSearchBar()) engineName = ss.currentEngine.name; else engineName = ss.defaultEngine.name;   var menuLabel = gNavigatorBundle.getFormattedString("contextMenuSearchText", [engineName, selectedText]); this.setItemAttr("context-searchselect", "label", menuLabel);  return true; 
context:     isTextSelection : function() {        var result = false;        var selection = this.searchSelected(16);        var searchSelectText;        if (selection) {            searchSelectText = selection.toString();            if (searchSelectText.length > 15)                searchSelectText = searchSelectText.substr(0,15) + "...";            result = true;          // format "Search for <selection>" string to show in menu          searchSelectText = gNavigatorBundle.getFormattedString("searchText", [searchSelectText]);          this.setItemAttr("context-searchselect", "label", searchSelectText);        }        return result;    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/56ee1324c98ca824e6d38f807b424769ba2d6445/browser.js/clean/browser/base/content/browser.js