rem: var sbs = Components.classes["@mozilla.org/intl/stringbundle;1"] .getService(Components.interfaces.nsIStringBundleService); var extensionStrings = sbs.createBundle("chrome: var brandStrings = sbs.createBundle("chrome: var brandShortName = brandStrings.GetStringFromName("brandShortName"); 
context: function setRestartMessage(aItem){  var sbs = Components.classes["@mozilla.org/intl/stringbundle;1"]                      .getService(Components.interfaces.nsIStringBundleService);  var extensionStrings = sbs.createBundle("chrome://mozapps/locale/extensions/extensions.properties");  var brandStrings = sbs.createBundle("chrome://branding/locale/brand.properties");  var brandShortName = brandStrings.GetStringFromName("brandShortName");  var themeName = aItem.getAttribute("name");  var restartMessage = extensionStrings.formatStringFromName("dssSwitchAfterRestart",                                                              [brandShortName], 1);  for (var i = 0; i < gExtensionsView.childNodes.length; ++i) {    var item = gExtensionsView.childNodes[i];    if (item.hasAttribute("oldDescription")) {      item.setAttribute("description", item.getAttribute("oldDescription"));      item.removeAttribute("oldDescription");    }  }  aItem.setAttribute("oldDescription", aItem.getAttribute("description"));  aItem.setAttribute("description", restartMessage);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4dee76fd35410a1e448aa8af0fcc257a211f7fde/extensions.js/buggy/toolkit/mozapps/extensions/content/extensions.js