rem: promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'), calendarStringBundle.formatStringFromName('httpPutError',[channel.responseStatus, channel.responseStatusText],2)); 
add: promptService.alert(null, calGetString("calenar", 'errorTitle'), props.formatStringFromName('httpPutError',[channel.responseStatus, channel.responseStatusText],2)); 
context:     onStopRequest: function(request, ctxt, status, errorMsg)    {        ctxt.wrappedJSObject.onStopUpload();        var channel;        var calendarStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties");        var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                                      .getService(Components.interfaces.nsIPromptService);        try {            channel = request.QueryInterface(Components.interfaces.nsIHttpChannel);            dump(ch.requestSucceeded+"\n");        } catch(e) {        }        if (channel && !channel.requestSucceeded) {            promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'),                                calendarStringBundle.formatStringFromName('httpPutError',[channel.responseStatus, channel.responseStatusText],2));        }        else if (!channel && !Components.isSuccessCode(request.status)) {            // XXX this should be made human-readable.            promptService.alert(null, calendarStringBundle.GetStringFromName('errorTitle'),                                calendarStringBundle.formatStringFromName('otherPutError',[request.status.toString(16)],1));        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/22b26d8542799a4eda15fdc457b2fecae0234a22/publish.js/clean/calendar/resources/content/publish.js