Add change two calls to lang

This commit is contained in:
Miles Lott 2001-04-22 20:04:31 +00:00
parent 584ea9936d
commit 2747b3681d
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@
$str = '<select name="new_owner" size="5">'."\n"; $str = '<select name="new_owner" size="5">'."\n";
$users = $phpgw->accounts->get_list('accounts'); $users = $phpgw->accounts->get_list('accounts');
$c_users = count($users); $c_users = count($users);
$str .= '<option value="0">Delete All Records</option>'."\n"; $str .= '<option value="0">'.lang('Delete All Records').'</option>'."\n";
for($i=0;$i<$c_users;$i++) for($i=0;$i<$c_users;$i++)
{ {
$str .= '<option value="'.$users[$i]['account_id'].'">'.$phpgw->common->display_fullname($users[$i]['account_lid'],$users[$i]['account_firstname'],$users[$i]['account_lastname']).'</option>'."\n"; $str .= '<option value="'.$users[$i]['account_id'].'">'.$phpgw->common->display_fullname($users[$i]['account_lid'],$users[$i]['account_firstname'],$users[$i]['account_lastname']).'</option>'."\n";

View File

@ -51,7 +51,7 @@
} }
if ($errorcount) { $t->set_var('message',$phpgw->common->error_list($error)); } if ($errorcount) { $t->set_var('message',$phpgw->common->error_list($error)); }
if (($submit) && (! $error) && (! $errorcount)) { $t->set_var('message',lang("Category x has been updated !",$catname)); } if (($submit) && (! $error) && (! $errorcount)) { $t->set_var('message',lang("Category x has been updated !",$cat_name)); }
if ((! $submit) && (! $error) && (! $errorcount)) { $t->set_var('message',''); } if ((! $submit) && (! $error) && (! $errorcount)) { $t->set_var('message',''); }
$cats = $c->return_single($cat_id); $cats = $c->return_single($cat_id);