added lang() call to the msgbox error text

This commit is contained in:
seek3r 2002-05-26 08:23:49 +00:00
parent 6998f911ff
commit 80e3cdf02d

View File

@ -1013,7 +1013,7 @@
$row = 1;
}
$GLOBALS['phpgw']->template->set_var('msgbox_text',$key);
$GLOBALS['phpgw']->template->set_var('msgbox_text',lang($key));
if ($value == True)
{
$GLOBALS['phpgw']->template->set_var('msgbox_img',$this->image('phpgwapi','msgbox_good'));
@ -1030,7 +1030,7 @@
else
{
$GLOBALS['phpgw']->template->set_var('msgbox_row_color',$GLOBALS['phpgw_info']['theme']['row_on']);
$GLOBALS['phpgw']->template->set_var('msgbox_text',$text);
$GLOBALS['phpgw']->template->set_var('msgbox_text',lang($text));
if ($type == True)
{
$GLOBALS['phpgw']->template->set_var('msgbox_img',$this->image('phpgwapi','msgbox_good'));