rem: var label = gMessengerBundle.getString("updates_checkForUpdates"); 
context: function buildHelpMenu(){  var updates =       Components.classes["@mozilla.org/updates/update-service;1"].      getService(Components.interfaces.nsIApplicationUpdateService);  var um =       Components.classes["@mozilla.org/updates/update-manager;1"].      getService(Components.interfaces.nsIUpdateManager);    // Disable the UI if the update enabled pref has been locked by the  // administrator or if we cannot update for some other reason   var checkForUpdates = document.getElementById("checkForUpdates");  var canUpdate = updates.canUpdate;  checkForUpdates.setAttribute("disabled", !canUpdate);  if (!canUpdate)    return;  if (!gMessengerBundle)    gMessengerBundle = document.getElementById("bundle_messenger");    var label = gMessengerBundle.getString("updates_checkForUpdates");  var activeUpdate = um.activeUpdate;  if (activeUpdate)   {    if (updates.isDownloading)     {      if (activeUpdate.name)         label = gMessengerBundle.getFormattedString("updates_downloadingUpdates", [activeUpdate.name]);      else        label = gMessengerBundle.getString("updates_downloadingUpdatesFallback");    }    else     {      if (activeUpdate.name)         label = gMessengerBundle.getFormattedString("updates_resumeDownloading", [activeUpdate.name]);      else        label = gMessengerBundle.getString("updates_resumeDownloadingFallback");    }  }  checkForUpdates.label = label;  if (um.activeUpdate && updates.isDownloading)    checkForUpdates.setAttribute("loading", "true");  else    checkForUpdates.removeAttribute("loading");}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a44ef778e26791629d093d7b98822dada3675753/mailWindowOverlay.js/clean/mail/base/content/mailWindowOverlay.js