diff options
author | ivan <ivan> | 2011-05-14 00:30:43 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-05-14 00:30:43 +0000 |
commit | be40a9fa3750374b32f2aa31e8807433c05d7817 (patch) | |
tree | 68f4ba6b9a68671bb0060bb586e0484da65825c3 /httemplate | |
parent | cd34706f94273cf381952f57c5fcb7d6910fbae0 (diff) |
i18n, RT#12515
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/autohandler | 8 |
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> |