[vhffs-dev] [1962] added missing gettext() in vhffs 4.3, fixed bug #270

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1962
Author:   gradator
Date:     2012-01-28 14:17:59 +0100 (Sat, 28 Jan 2012)
Log Message:
-----------
added missing gettext() in vhffs 4.3, fixed bug #270

Modified Paths:
--------------
    branches/vhffs-4.3/vhffs-panel/cvs/prefs.pl
    branches/vhffs-4.3/vhffs-panel/group/prefs.pl
    branches/vhffs-4.3/vhffs-panel/mailinglist/prefs.pl
    branches/vhffs-4.3/vhffs-panel/pgsql/prefs.pl
    branches/vhffs-4.3/vhffs-panel/repository/prefs.pl

Modified: branches/vhffs-4.3/vhffs-panel/cvs/prefs.pl
===================================================================
--- branches/vhffs-4.3/vhffs-panel/cvs/prefs.pl	2012-01-28 12:06:08 UTC (rev 1961)
+++ branches/vhffs-4.3/vhffs-panel/cvs/prefs.pl	2012-01-28 13:17:59 UTC (rev 1962)
@@ -106,9 +106,9 @@
 	$template->param( NO => gettext("No, I'm not sure, I prefer to keep this project.") );
 	$template->param( TEXT_DELETE => gettext("Delete") );
 
-	$template->param( TEXT_ACL_ADMIN => "Admin Rights on this object (ACL)" );
-	$template->param( EXPLAIN_ADMIN_ACL => "You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it." );
-	$template->param( ADMIN_ACL => "Ok, go to ACL admin" );
+	$template->param( TEXT_ACL_ADMIN => gettext("Admin Rights on this object (ACL)") );
+	$template->param( EXPLAIN_ADMIN_ACL => gettext("You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it.") );
+	$template->param( ADMIN_ACL => gettext("Ok, go to ACL admin") );
 
 	$template->param( PUBLIC => $cvs->is_public );
 

Modified: branches/vhffs-4.3/vhffs-panel/group/prefs.pl
===================================================================
--- branches/vhffs-4.3/vhffs-panel/group/prefs.pl	2012-01-28 12:06:08 UTC (rev 1961)
+++ branches/vhffs-4.3/vhffs-panel/group/prefs.pl	2012-01-28 13:17:59 UTC (rev 1962)
@@ -231,9 +231,9 @@
 	$template->param( NO => gettext("No, I'm not sure, I prefer to keep this project.") );
 	$template->param( TEXT_DELETE => gettext("Delete") );
 	$template->param( VALUE_OID => $group->get_oid );
-	$template->param( TEXT_ACL_ADMIN => "Admin Rights on this object (ACL)" );
-	$template->param( EXPLAIN_ADMIN_ACL => "You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it." );
-	$template->param( ADMIN_ACL => "Ok, go to ACL admin" );
+	$template->param( TEXT_ACL_ADMIN => gettext("Admin Rights on this object (ACL)") );
+	$template->param( EXPLAIN_ADMIN_ACL => gettext("You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it.") );
+	$template->param( ADMIN_ACL => gettext("Ok, go to ACL admin") );
 
 	my $mg = init Vhffs::Services::MailGroup( $vhffs , $group );
 	if( defined $mg )

Modified: branches/vhffs-4.3/vhffs-panel/mailinglist/prefs.pl
===================================================================
--- branches/vhffs-4.3/vhffs-panel/mailinglist/prefs.pl	2012-01-28 12:06:08 UTC (rev 1961)
+++ branches/vhffs-4.3/vhffs-panel/mailinglist/prefs.pl	2012-01-28 13:17:59 UTC (rev 1962)
@@ -183,9 +183,9 @@
     $template->param( TEXT_DELETE => gettext("Delete") );
 
     $template->param( VALUE_OID => $list->get_oid );
-    $template->param( TEXT_ACL_ADMIN => "Admin Rights on this object (ACL)" );
-    $template->param( EXPLAIN_ADMIN_ACL => "You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it." );
-    $template->param( ADMIN_ACL => "Ok, go to ACL admin" );
+    $template->param( TEXT_ACL_ADMIN => gettext("Admin Rights on this object (ACL)") );
+    $template->param( EXPLAIN_ADMIN_ACL => gettext("You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it.") );
+    $template->param( ADMIN_ACL => gettext("Ok, go to ACL admin") );
 
 	my $adminpart = Vhffs::Panel::Object::admin_part( $panel, $list );
 	$template->param( ADMIN_PART => $adminpart->output ) if( defined $adminpart );

Modified: branches/vhffs-4.3/vhffs-panel/pgsql/prefs.pl
===================================================================
--- branches/vhffs-4.3/vhffs-panel/pgsql/prefs.pl	2012-01-28 12:06:08 UTC (rev 1961)
+++ branches/vhffs-4.3/vhffs-panel/pgsql/prefs.pl	2012-01-28 13:17:59 UTC (rev 1962)
@@ -90,9 +90,9 @@
 	$template->param( TEXT_DBPASS => gettext("Password for this database") );
 
     $template->param( VALUE_OID => $pgsql->get_oid );
-	$template->param( TEXT_ACL_ADMIN => "Admin Rights on this object (ACL)" );
-	$template->param( EXPLAIN_ADMIN_ACL => "You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it." );
-	$template->param( ADMIN_ACL => "Ok, go to ACL admin" );
+	$template->param( TEXT_ACL_ADMIN => gettext("Admin Rights on this object (ACL)") );
+	$template->param( EXPLAIN_ADMIN_ACL => gettext("You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it.") );
+	$template->param( ADMIN_ACL => gettext("Ok, go to ACL admin") );
 
 	$template->param( TEXT_SEND => gettext("Modify") );
 	$template->param( TEXT_DELETE_PGSQL => gettext("Delete this PostgreSQL database") );

Modified: branches/vhffs-4.3/vhffs-panel/repository/prefs.pl
===================================================================
--- branches/vhffs-4.3/vhffs-panel/repository/prefs.pl	2012-01-28 12:06:08 UTC (rev 1961)
+++ branches/vhffs-4.3/vhffs-panel/repository/prefs.pl	2012-01-28 13:17:59 UTC (rev 1962)
@@ -92,9 +92,9 @@
 	$template->param( TEXT_DELETE => gettext("Delete") );
 
 	$template->param( VALUE_OID => $repo->get_oid );
-	$template->param( TEXT_ACL_ADMIN => "Admin Rights on this object (ACL)" );
-	$template->param( EXPLAIN_ADMIN_ACL => "You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it." );
-	$template->param( ADMIN_ACL => "Ok, go to ACL admin" );
+	$template->param( TEXT_ACL_ADMIN => gettext("Admin Rights on this object (ACL)") );
+	$template->param( EXPLAIN_ADMIN_ACL => gettext("You can Manage rights on this service for each user in the VHFFS database. Please read help before manage it.") );
+	$template->param( ADMIN_ACL => gettext("Ok, go to ACL admin") );
 
 	if($user->is_admin() == 1) {
 		$template->param( ADMIN => 1);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/