From cf2943435d07dbdb52a68a4c46b859cbb3537325 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 6 Dec 2010 08:52:10 +0000 Subject: [PATCH] fix for bug #2053: in edit categories, egw shows the KB menu in english rather than the locale --- preferences/inc/class.uicategories.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/preferences/inc/class.uicategories.inc.php b/preferences/inc/class.uicategories.inc.php index 9ca4754d3e..4a123108b8 100644 --- a/preferences/inc/class.uicategories.inc.php +++ b/preferences/inc/class.uicategories.inc.php @@ -37,6 +37,7 @@ function uicategories() { $cats_app = get_var('cats_app',array('GET','POST')); + translation::add_app($cats_app); $this->bo =& CreateObject('preferences.bocategories',$cats_app); $this->nextmatchs =& CreateObject('phpgwapi.nextmatchs'); @@ -180,7 +181,7 @@ // ------------------------------ end nextmatch ------------------------------------------ -//------------------- list header variable template-declarations ------------------------- +//------------------- list header variable template-declarations ------------------------- $GLOBALS['egw']->template->set_var('sort_name',$this->nextmatchs->show_sort_order($this->sort,'cat_name',$this->order,'/index.php',lang('Name'),$link_data)); $GLOBALS['egw']->template->set_var('sort_description',$this->nextmatchs->show_sort_order($this->sort,'cat_description',$this->order,'/index.php',lang('Description'),$link_data));