Update lang calls

This commit is contained in:
Miles Lott 2001-04-18 22:37:08 +00:00
parent 00c86d1ccc
commit 0166255a49
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@
}
if ($errorcount) { $t->set_var('message',$phpgw->common->error_list($error)); }
if (($submit) && (! $error) && (! $errorcount)) { $t->set_var('message',lang("Category $cat_name has been added !")); }
if (($submit) && (! $error) && (! $errorcount)) { $t->set_var('message',lang("Category x has been added !",$cat_name)); }
if ((! $submit) && (! $error) && (! $errorcount)) { $t->set_var('message',''); }
@ -94,4 +94,4 @@
$t->pparse('addhandle','add');
$phpgw->common->phpgw_footer();
?>
?>

View File

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