[vhffs-dev] [svn] commit: r111 - /trunk/vhffs-panel/subscribe_complete.pl

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


Author: soda
Date: Thu Dec 15 12:19:35 2005
New Revision: 111

Log:
fix intl bug


Modified:
    trunk/vhffs-panel/subscribe_complete.pl

Modified: trunk/vhffs-panel/subscribe_complete.pl
==============================================================================
--- trunk/vhffs-panel/subscribe_complete.pl (original)
+++ trunk/vhffs-panel/subscribe_complete.pl Thu Dec 15 12:19:35 2005
@@ -34,9 +34,7 @@
 $vhffs = init Vhffs::Main;
 $templatedir = $vhffs->get_config->get_templatedir;
 
-setlocale(LC_ALL, CGI->cookie("language") );
-bindtextdomain("vhffs", $vhffs->get_config->get_intldir);
-textdomain("vhffs");
+Vhffs::Panel::Main::cook_lang( $vhffs );
 
 
 $mail 		= $cgi->param( "MAIL" );




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