mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix for bug #2053: in edit categories, egw shows the KB menu in english rather than the locale
This commit is contained in:
parent
a7ff696963
commit
c1f326206a
@ -37,6 +37,7 @@
|
|||||||
function uicategories()
|
function uicategories()
|
||||||
{
|
{
|
||||||
$cats_app = get_var('cats_app',array('GET','POST'));
|
$cats_app = get_var('cats_app',array('GET','POST'));
|
||||||
|
translation::add_app($cats_app);
|
||||||
|
|
||||||
$this->bo =& CreateObject('preferences.bocategories',$cats_app);
|
$this->bo =& CreateObject('preferences.bocategories',$cats_app);
|
||||||
$this->nextmatchs =& CreateObject('phpgwapi.nextmatchs');
|
$this->nextmatchs =& CreateObject('phpgwapi.nextmatchs');
|
||||||
@ -180,7 +181,7 @@
|
|||||||
|
|
||||||
// ------------------------------ end nextmatch ------------------------------------------
|
// ------------------------------ 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_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));
|
$GLOBALS['egw']->template->set_var('sort_description',$this->nextmatchs->show_sort_order($this->sort,'cat_description',$this->order,'/index.php',lang('Description'),$link_data));
|
||||||
|
Loading…
Reference in New Issue
Block a user