rem: if (failedCount) showError(failedCount+" items failed to import. The last error was: "+lastError.toString()); 
add: if (failedCount) { var msg = calGetString("calendar", "importItemsFailed", [failedCount, lastError.toString()]); showError(msg); } 
context:         onOperationComplete: function(aCalendar, aStatus, aOperationType, aId, aDetail) {            count++;            if (!Components.isSuccessCode(aStatus)) {                failedCount++;                lastError = aStatus;            }            // See if it is time to end the calendar's batch.            if (count == aItems.length) {                destCal.endBatch();                if (failedCount)                    showError(failedCount+" items failed to import. The last error was: "+lastError.toString());            }        }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/0e125c989af1e3b9e1b4842d7f5b3645d3cff322/import-export.js/buggy/calendar/base/content/import-export.js