Bug 1107278 - Localize the new searchbar UI for Firefox 35 - remove duplicated code to match the code landed on beta, r=felipe.

This commit is contained in:
Florian Quèze 2014-12-12 14:13:48 +01:00
parent fff9b23d46
commit 885ea6cdb1

View File

@ -1060,8 +1060,6 @@
let addEngines = gBrowser.selectedBrowser.engines;
if (addEngines && addEngines.length > 0) {
const kBundleURI = "chrome://browser/locale/search.properties";
let bundle = Services.strings.createBundle(kBundleURI);
for (let engine of addEngines) {
let button = document.createElementNS(kXULNS, "button");
let label = bundle.formatStringFromName("cmd_addFoundEngine",