rem: var EmailBody = "Calendar Event Alarm Went Off!\n----------------------------\n"; EmailBody += "Title: "+calendarEvent.title + " at " + calendarEvent.start.toString() +  "\n"; EmailBody += "This message sent to you from the Mozilla Calendar.\nhttp: 
add: var EmailBody = gCalendarEmailBundle.getFormattedString("AlarmEmailBody", [calendarEvent.title, calendarEvent.start.toString()]); var EmailSubject = gCalendarEmailBundle.getFormattedString("AlarmEmailSubject", [calendarEvent.title]); 
context: CalendarAlarmObserver.prototype.fireAlarm = function calAlarm_fireAlarm( calendarEvent ){   dump( "Fire alarm "+ calendarEvent + "\n" );      if( typeof( gCalendarWindow ) == "undefined" )   {      return;   }         var categoriesStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties");      if( getBoolPref(gCalendarWindow.calendarPreferences.calendarPref, "alarms.playsound", categoriesStringBundle.GetStringFromName("playAlarmSound" ) ) )   {      playSound();   }      addEventToDialog( calendarEvent );      if ( calendarEvent.alarmEmailAddress )   {      var EmailBody = "Calendar Event Alarm Went Off!\n----------------------------\n";      EmailBody += "Title: "+calendarEvent.title + " at " + calendarEvent.start.toString() +  "\n";      EmailBody += "This message sent to you from the Mozilla Calendar.\nhttp://www.mozilla.org/projects/calendar/";               //send an email for the event      sendEmail( "Mozilla Calendar Alarm: "+calendarEvent.title, EmailBody, calendarEvent.alarmEmailAddress, null, null, null, null );   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fd6cbdd83f28ebcb811a684385dd5c52936bfe16/calendarEvent.js/buggy/calendar/resources/content/calendarEvent.js