fixed only partially translated alarms

This commit is contained in:
Ralf Becker 2012-05-15 14:41:41 +00:00
parent 60c5847df3
commit 2f81eea8ef

View File

@ -906,6 +906,10 @@ class calendar_boupdate extends calendar_bo
{ {
return False; // no rights return False; // no rights
} }
// need to load calendar translations and set currentapp, so calendar can reload a different lang
translation::add_app('calendar');
$GLOBALS['egw_info']['flags']['currentapp'] = 'calendar';
$ret = $this->send_update(MSG_ALARM,$to_notify,$event,False,$alarm['owner']); $ret = $this->send_update(MSG_ALARM,$to_notify,$event,False,$alarm['owner']);
// create a new alarm for recuring events for the next event, if one exists // create a new alarm for recuring events for the next event, if one exists