rem: args.promptText = props.GetStringFromName("publishPrompt"); 
add: args.promptText = calGetString("calendar", "publishPrompt"); 
context: function publishEntireCalendar(cal){    if (!cal) {        var count = new Object();        var calendars = getCalendarManager().getCalendars(count);        if (count.value == 1) {            // Do not ask user for calendar if only one calendar exists            cal = calendars[0];        } else {            // Ask user to select the calendar that should be published.            // publishEntireCalendar() will be called again if OK is pressed            // in the dialog and the selected calendar will be passed in.             // Therefore return after openDialog().            var sbs = Components.classes["@mozilla.org/intl/stringbundle;1"]                                .getService(Components.interfaces.nsIStringBundleService);            var props = sbs.createBundle("chrome://calendar/locale/calendar.properties");            var args = new Object();            args.onOk = publishEntireCalendar;            args.promptText = props.GetStringFromName("publishPrompt");            openDialog("chrome://calendar/content/chooseCalendarDialog.xul",                        "_blank", "chrome,titlebar,modal,resizable", args);            return;        }    }    var args = new Object();    var publishObject = new Object( );    args.onOk =  self.publishEntireCalendarDialogResponse;    publishObject.calendar = cal;    // restore the remote ics path preference from the calendar passed in    var remotePath = getCalendarManager().getCalendarPref(cal, "remote-ics-path");    if (remotePath && remotePath.length && remotePath.length > 0) {        publishObject.remotePath = remotePath;    }    args.publishObject = publishObject;    openDialog("chrome://calendar/content/publishDialog.xul", "caPublishEvents",                "chrome,titlebar,modal,resizable", args );    return;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/1fa77d75fcd7eab3f3824e0f0e770c93e357c593/publish.js/buggy/calendar/resources/content/publish.js