rem: this._bundle         = document.getElementById("bundle_bookmarks"); this._brandShortName = document.getElementById("bundle_brand") .getString("brandShortName"); 
add: var LOCALESVC = Components.classes["@mozilla.org/intl/nslocaleservice;1"] .getService(Components.interfaces.nsILocaleService); var BUNDLESVC = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService); var bookmarksBundle  = "chrome: this._bundle         = BUNDLESVC.createBundle(bookmarksBundle, LOCALESVC.GetApplicationLocale()); var brandBundle      = "chrome: this._brandShortName = BUNDLESVC.createBundle(brandBundle,     LOCALESVC.GetApplicationLocale()) .GetStringFromName("brandShortName"); 
context:   getLocaleString: function (aStringKey)  {    if (!this._bundle) {      this._bundle         = document.getElementById("bundle_bookmarks");      this._brandShortName = document.getElementById("bundle_brand")                                     .getString("brandShortName");    }    bundle = this._bundle.getString(aStringKey)                 .replace(/%brandShortName%/, this._brandShortName);    return bundle;  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/9108417df6f9b6544b2c7d538286383b9af2f612/bookmarksOverlay.js/buggy/xpfe/components/bookmarks/resources/bookmarksOverlay.js