rem: fp.init(window, "Choose File...", nsIFilePicker.modeOpen); 
add: var bundle = document.getElementById("bundle_cckwizard"); fp.init(window, bundle.getString("chooseFile"), nsIFilePicker.modeOpen); 
context: function onEditBundle(){  listbox = document.getElementById('bundleList');  filename = listbox.selectedItem.label;  var sourcefile = Components.classes["@mozilla.org/file/local;1"]                       .createInstance(Components.interfaces.nsILocalFile);  try {    sourcefile.initWithPath(filename);    var ioServ = Components.classes["@mozilla.org/network/io-service;1"]                           .getService(Components.interfaces.nsIIOService);                             } catch (ex) {  }  try {    var nsIFilePicker = Components.interfaces.nsIFilePicker;    var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);    fp.init(window, "Choose File...", nsIFilePicker.modeOpen);    fp.displayDirectory = sourcefile.parent;    fp.defaultString = sourcefile.leafName;    fp.appendFilters(nsIFilePicker.filterAll);    if (fp.show() == nsIFilePicker.returnOK && fp.fileURL.spec && fp.fileURL.spec.length > 0) {      listbox.selectedItem.label = fp.file.path;    }  }  catch(ex) {  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e92f2832d225fc558dd5dab5241e9d33a62f9907/cckwizard.js/clean/extensions/cck/browser/resources/content/cckwizard/cckwizard.js