[freeside-commits] freeside/httemplate autohandler,1.11,1.12

Ivan,,, ivan at wavetail.420.am
Fri May 13 17:30:45 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate
In directory wavetail.420.am:/tmp/cvs-serv3696/httemplate

Modified Files:
	autohandler 
Log Message:
i18n, RT#12515

Index: autohandler
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/autohandler,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- autohandler	11 May 2011 16:20:11 -0000	1.11
+++ autohandler	14 May 2011 00:30:43 -0000	1.12
@@ -1,13 +1,9 @@
 % $m->call_next;
 <%init>
 
-  dbh->{'private_profile'} = {} if UNIVERSAL::can(dbh, 'sprintProfile');
+  $FS::Maketext::lh = '';
 
-  my $locale =  $FS::CurrentUser::CurrentUser->option('locale')
-             || FS::Conf->new->config('locale')
-             || 'en_US';
-  $locale =~ s/_/-/g;
-  $lh = FS::L10N->get_handle($locale) || die "Unknown locale $locale";
+  dbh->{'private_profile'} = {} if UNIVERSAL::can(dbh, 'sprintProfile');
 
 </%init>
 <%filter>



More information about the freeside-commits mailing list