diff --git a/admin/editcategory.php b/admin/editcategory.php index 1876c8308a..40b1074e6a 100644 --- a/admin/editcategory.php +++ b/admin/editcategory.php @@ -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); @@ -82,4 +82,4 @@ $t->pparse('edithandle','edit'); $phpgw->common->phpgw_footer(); -?> \ No newline at end of file +?> diff --git a/admin/mainscreen_message.php b/admin/mainscreen_message.php index 179f3aa6c2..b806dd1db5 100644 --- a/admin/mainscreen_message.php +++ b/admin/mainscreen_message.php @@ -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 = "