This commit is contained in:
Miles Lott 2001-04-18 22:34:36 +00:00
parent 883845235f
commit 00c86d1ccc
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,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 !",$catname)); }
if ((! $submit) && (! $error) && (! $errorcount)) { $t->set_var('message',''); }
$cats = $c->return_single($cat_id);

View File

@ -25,7 +25,7 @@
. "$section' and lang='$select_lang'",__LINE__,__FILE__);
$phpgw->db->query("insert into lang values ('$section" . "_message','$section','$select_lang','"
. addslashes($message) . "')",__LINE__,__FILE__);
$message = "<center>Message has been updated</center>";
$message = "<center>".lang("message has been updated")."</center>";
}
if (! isset($select_lang)) {