From 45cfb2c42146d920d056671dc56e0d82c440cb2e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 7 Sep 2005 15:15:43 +0000 Subject: [PATCH] notifies NEED the translation for the application loaded, before they get processed --- preferences/inc/class.uisettings.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/preferences/inc/class.uisettings.inc.php b/preferences/inc/class.uisettings.inc.php index 2ba408dcb5..f3b48a3fa4 100755 --- a/preferences/inc/class.uisettings.inc.php +++ b/preferences/inc/class.uisettings.inc.php @@ -95,6 +95,10 @@ if($_POST['save'] || $_POST['apply']) { + if ($this->bo->session_data['notifies']) // notifies NEED the translation for the application loaded + { + $GLOBALS['egw']->translation->add_app($_GET['appname']); + } /* Don't use a switch here, we need to check some permissions during the ifs */ if($GLOBALS['type'] == 'user' || !($GLOBALS['type'])) {