summaryrefslogtreecommitdiff
path: root/httemplate/autohandler
diff options
context:
space:
mode:
authorivan <ivan>2011-05-14 00:30:43 +0000
committerivan <ivan>2011-05-14 00:30:43 +0000
commitbe40a9fa3750374b32f2aa31e8807433c05d7817 (patch)
tree68f4ba6b9a68671bb0060bb586e0484da65825c3 /httemplate/autohandler
parentcd34706f94273cf381952f57c5fcb7d6910fbae0 (diff)
i18n, RT#12515
Diffstat (limited to 'httemplate/autohandler')
-rw-r--r--httemplate/autohandler8
1 files changed, 2 insertions, 6 deletions
diff --git a/httemplate/autohandler b/httemplate/autohandler
index c676d3d2d..c326e3e18 100644
--- a/httemplate/autohandler
+++ b/httemplate/autohandler
@@ -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>