rem: fp.init(window, "Choose File...", nsIFilePicker.modeGetFolder); 
add: var bundle = document.getElementById("bundle_cckwizard"); fp.init(window, bundle.getString("chooseDirectory"), nsIFilePicker.modeGetFolder); 
context: function choosedir(labelname){  try {    var keepgoing = true;    while (keepgoing) {      var nsIFilePicker = Components.interfaces.nsIFilePicker;      var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);      fp.init(window, "Choose File...", nsIFilePicker.modeGetFolder);      fp.appendFilters(nsIFilePicker.filterHTML | nsIFilePicker.filterText |                       nsIFilePicker.filterAll | nsIFilePicker.filterImages | nsIFilePicker.filterXML);      if (fp.show() == nsIFilePicker.returnOK && fp.fileURL.spec && fp.fileURL.spec.length > 0) {        var label = document.getElementById(labelname);        label.value = fp.file.path;      }      keepgoing = false;    }  }  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