Fix typo in error messages

This commit is contained in:
Nathan Gray 2011-04-04 19:07:23 +00:00
parent fa8bf4218e
commit 1c4101575c
2 changed files with 4 additions and 4 deletions

View File

@ -196,7 +196,7 @@ class resources_bo
{
if(!$this->acl->is_permitted($resource['cat_id'],EGW_ACL_EDIT))
{
return lang('You are not permitted to edit this reource!');
return lang('You are not permitted to edit this resource!');
}
// we need an id to save pictures and make links...
if(!$resource['res_id'])
@ -280,7 +280,7 @@ class resources_bo
{
if(!$this->acl->is_permitted($this->so->get_value('cat_id',$res_id),EGW_ACL_DELETE))
{
return lang('You are not permitted to delete this reource!');
return lang('You are not permitted to delete this resource!');
}
if ($this->so->delete(array('res_id'=>$res_id)))

View File

@ -99,7 +99,7 @@ web-site for this resource resources en Web-Site for this resource
where to find this resource? resources en Where to find this resource?
which category does this resource belong to? resources en Which category does this resource belong to?
write permissions resources en Write permissions
you are not permitted to delete this reource! resources en You are not permitted to delete this reource!
you are not permitted to edit this reource! resources en You are not permitted to edit this reource!
you are not permitted to delete this resource! resources en You are not permitted to delete this resource!
you are not permitted to edit this resource! resources en You are not permitted to edit this resource!
you are not permitted to get information about this resource! resources en You are not permitted to get information about this resource!
you chose more resources than available resources en You chose more resources than available