[vhffs-dev] [svn] commit: r88 - in /trunk/vhffs-panel/acl: add_acl_group.pl add_acl_user.pl submit.pl view.pl |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
- To: vhffs-dev@xxxxxxxxx
- Subject: [vhffs-dev] [svn] commit: r88 - in /trunk/vhffs-panel/acl: add_acl_group.pl add_acl_user.pl submit.pl view.pl
- From: vhffs-dev@xxxxxxxxx
- Date: Wed Aug 3 19:12:22 2005 +00
Author: jd
Date: Wed Aug 3 21:12:19 2005
New Revision: 88
Log:
bad english fix (ACL)
Modified:
trunk/vhffs-panel/acl/add_acl_group.pl
trunk/vhffs-panel/acl/add_acl_user.pl
trunk/vhffs-panel/acl/submit.pl
trunk/vhffs-panel/acl/view.pl
Modified: trunk/vhffs-panel/acl/add_acl_group.pl
==============================================================================
--- trunk/vhffs-panel/acl/add_acl_group.pl (original)
+++ trunk/vhffs-panel/acl/add_acl_group.pl Wed Aug 3 21:12:19 2005
@@ -61,19 +61,19 @@
}
elsif( ( $obj_src->fetch < 0 ) || ( $obj_dst->fetch < 0) )
{
- $message = gettext( "The group does not exists" );
+ $message = gettext( "The group does not exist" );
}
else
{
if( ( Vhffs::Acl::what_perm_for_user( $user , $obj_dst , $vhffs ) < Vhffs::Constants::ACL_MANAGEACL ) && ( $user->is_admin != 1 ) )
{
- $message = gettext("You're not allowed to view the ACL of this object");
+ $message = gettext("You're not allowed to view this object ACL");
}
else
{
if( Vhffs::Acl::add_acl( $obj_src , $obj_dst , 10 , $vhffs ) < 0 )
{
- $message = gettext( "Sorry, can't add an ACL");
+ $message = gettext( "Sorry, can't add ACL");
}
else
{
Modified: trunk/vhffs-panel/acl/add_acl_user.pl
==============================================================================
--- trunk/vhffs-panel/acl/add_acl_user.pl (original)
+++ trunk/vhffs-panel/acl/add_acl_user.pl Wed Aug 3 21:12:19 2005
@@ -61,19 +61,19 @@
}
elsif( ( $obj_src->fetch < 0 ) || ( $obj_dst->fetch < 0) )
{
- $message = gettext( "The user does not exists" );
+ $message = gettext( "The user does not exist" );
}
else
{
if( ( Vhffs::Acl::what_perm_for_user( $user , $obj_dst , $vhffs ) < Vhffs::Constants::ACL_MANAGEACL ) && ( $user->is_admin != 1 ) )
{
- $message = gettext("You're not allowed to view the ACL of this object");
+ $message = gettext("You're not allowed to view this object ACL");
}
else
{
if( Vhffs::Acl::add_acl( $obj_src , $obj_dst , $acl_level , $vhffs ) < 0 )
{
- $message = gettext( "Sorry, can't add an ACL");
+ $message = gettext( "Sorry, can't add ACL");
}
else
{
Modified: trunk/vhffs-panel/acl/submit.pl
==============================================================================
--- trunk/vhffs-panel/acl/submit.pl (original)
+++ trunk/vhffs-panel/acl/submit.pl Wed Aug 3 21:12:19 2005
@@ -66,7 +66,7 @@
{
if( ( Vhffs::Acl::what_perm_for_user( $user , $obj_dst , $vhffs ) < Vhffs::Constants::ACL_MANAGEACL ) && ( $user->is_admin != 1 ) )
{
- $message = gettext("You're not allowed to view the ACL of this object");
+ $message = gettext("You're not allowed to view this object ACL");
}
else
{
@@ -79,14 +79,14 @@
}
else
{
- $message = gettext( "Successfully delete ACL");
+ $message = gettext( "Successfully deleted ACL");
}
}
else
{
if( Vhffs::Acl::add_acl( $obj_src , $obj_dst , $acl_level , $vhffs ) < 0 )
{
- $message = gettext( "Sorry, can't add an ACL");
+ $message = gettext( "Sorry, can't add ACL");
}
else
{
Modified: trunk/vhffs-panel/acl/view.pl
==============================================================================
--- trunk/vhffs-panel/acl/view.pl (original)
+++ trunk/vhffs-panel/acl/view.pl Wed Aug 3 21:12:19 2005
@@ -102,7 +102,7 @@
elsif( ( Vhffs::Acl::what_perm_for_user( $user , $object , $vhffs ) < Vhffs::Constants::ACL_VIEW ) && ( $user->is_admin != 1 ) )
{
$template = new HTML::Template( filename => $templatedir."/misc/simplemsg.tmpl" );
- my $message = gettext("You're not allowed to view the ACL of this object");
+ my $message = gettext("You're not allowed to view this object ACL");
$template->param( MESSAGE => $message );
}
else