rem:  var title = "Remove Actions"; var msg = "The selected Actions will no longer be performed when files of the affected types are downloaded. Are you sure you want to remove these Actions?"; 
add: var bundle = document.getElementById("strings"); var title = bundle.getString("removeActions"); var msg = bundle.getString("removeActionsMsg");  
context: function removeFileHandler(){  const nsIPS = Components.interfaces.nsIPromptService;  var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(nsIPS);    // XXXben LOCALIZE!  var title = "Remove Actions";  var msg = "The selected Actions will no longer be performed when files of the affected types are downloaded. Are you sure you want to remove these Actions?";  var buttons = (nsIPS.BUTTON_TITLE_YES * nsIPS.BUTTON_POS_0) + (nsIPS.BUTTON_TITLE_NO * nsIPS.BUTTON_POS_1);  if (ps.confirmEx(window, title, msg, buttons, "", "", "", "", { }) == 1)     return;    var c = Components.classes["@mozilla.org/rdf/container;1"].createInstance(Components.interfaces.nsIRDFContainer);  c.Init(gHelperApps, gRDF.GetResource("urn:mimetypes:root"));    var cv = gHandlersList.contentView;  var selection = gHandlersList.view.selection;   var rangeCount = selection.getRangeCount();  var min = { }, max = { };    var lastAdjacent = -1;  for (var i = 0; i < rangeCount; ++i) {    selection.getRangeAt(i, min, max);        if (i == (rangeCount - 1)) {       if (min.value >= (gHandlersList.view.rowCount - selection.count))         lastAdjacent = min.value - 1;      else        lastAdjacent = min.value;    }        for (var j = max.value; j >= min.value; --j) {      var item = cv.getItemAtIndex(j);      var itemResource = gRDF.GetResource(item.id);      c.RemoveElement(itemResource, j == min.value);            cleanResource(itemResource);    }  }  if (lastAdjacent != -1) {    selection.select(lastAdjacent);    gHandlersList.focus();  }    gHelperApps.flush();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/510d7d861626bf72fd76624f19e214f0f9c2fba8/pref-downloads.js/clean/toolkit/mozapps/downloads/content/pref-downloads.js