From f5517a1ff89c53ad09da25bd576244e153dc49f0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 15 May 2012 14:42:02 +0000 Subject: [PATCH] fixed only partially translated alarms --- calendar/inc/class.calendar_boupdate.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 224f0ba40f..50746e2506 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -906,6 +906,10 @@ class calendar_boupdate extends calendar_bo { 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']); // create a new alarm for recuring events for the next event, if one exists