rem: fp.init(window, Bundle.GetStringFromName("chooseFileToAttach"), nsIFilePicker.modeOpen); 
add: fp.init(window, gComposeMsgsBundle.getString("chooseFileToAttach"), nsIFilePicker.modeOpen); 
context: function AttachFile(){//  dump("AttachFile()\n");	currentAttachment = "";	//Get file using nsIFilePicker and convert to URL    try {			var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);			fp.init(window, Bundle.GetStringFromName("chooseFileToAttach"), nsIFilePicker.modeOpen);			fp.appendFilters(nsIFilePicker.filterAll);			if (fp.show() == nsIFilePicker.returnOK) {			currentAttachment = fp.fileURL.spec;			dump("nsIFilePicker - "+currentAttachment+"\n");			}    } 		catch (ex) {		dump("failed to get the local file to attach\n");	}  if (!(DuplicateFileCheck(currentAttachment)))	  AddAttachment(currentAttachment, null);  else   {    dump("###ERROR ADDING DUPLICATE FILE \n");    var errorTitle = Bundle.GetStringFromName("DuplicateFileErrorDlogTitle");    var errorMsg = Bundle.GetStringFromName("DuplicateFileErrorDlogMessage");    if (commonDialogsService)      commonDialogsService.Alert(window, errorTitle, errorMsg);    else      window.alert(errorMsg);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/a7a6aaec82021225369a825c4902d7f206319316/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js