[vhffs-dev] [1126] gettext support is useless here |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1126
Author: gradator
Date: 2008-01-10 15:55:56 +0000 (Thu, 10 Jan 2008)
Log Message:
-----------
gettext support is useless here
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Robots/Mysql.pm
Modified: trunk/vhffs-api/src/Vhffs/Robots/Mysql.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots/Mysql.pm 2008-01-10 14:27:43 UTC (rev 1125)
+++ trunk/vhffs-api/src/Vhffs/Robots/Mysql.pm 2008-01-10 15:55:56 UTC (rev 1126)
@@ -42,10 +42,6 @@
use Vhffs::Constants;
use Vhffs::Functions;
-setlocale(LC_ALL, "en_US");
-bindtextdomain("panel", "/vhffs/vhffs-panel/intl");
-textdomain("panel");
-
sub delete_db
{
my $main = shift;
@@ -106,7 +102,7 @@
# grant privileges to user
# $query = "GRANT ALL PRIVILEGES ON `".$db->get_dbname."`.* TO `".$db->get_dbname."`@% IDENTIFIED BY '".$db->get_dbpassword."'";
$query = "GRANT ALL ON ".$db->get_dbname.".* TO `".$db->get_dbname."` IDENTIFIED BY '".$db->get_dbpassword."'";
- $dbi->do( $query ) or $db->add_history( gettext("An error occured while granting privileges to an admin user") );
+ $dbi->do( $query ) or $db->add_history( "An error occured while granting privileges to an admin user" );
$dbi->do( "FLUSH PRIVILEGES" );
$dbi->disconnect;