[vhffs-dev] [1191] Added missing gettext()

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


Revision: 1191
Author:   gradator
Date:     2008-05-03 01:38:53 +0200 (Sat, 03 May 2008)

Log Message:
-----------
Added missing gettext()

Modified Paths:
--------------
    trunk/vhffs-panel/mysql/prefs.pl


Modified: trunk/vhffs-panel/mysql/prefs.pl
===================================================================
--- trunk/vhffs-panel/mysql/prefs.pl	2008-05-02 23:34:30 UTC (rev 1190)
+++ trunk/vhffs-panel/mysql/prefs.pl	2008-05-02 23:38:53 UTC (rev 1191)
@@ -101,10 +101,10 @@
 	$template->param( TEXT_DBPASS => gettext("Password for this database") );
 	#$template->param( VALUE_DBPASS => $mysql->get_dbpassword );
 
-    $template->param( VALUE_OID => $mysql->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( VALUE_OID => $mysql->get_oid );
+	$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_MYSQL => gettext("Delete this database") );
@@ -123,7 +123,7 @@
 
 sub save_prefs {
     if(!$user->can_modify($mysql)) {
-        $panel->add_error( 'You\'re not allowed to do this, object is not in active state or you don\'t have enough ACL rights' );
+        $panel->add_error( gettext('You\'re not allowed to do this, object is not in active state or you don\'t have enough ACL rights') );
         return 0;
     }
 


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