X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/91ee6cb28c37fe07d001da04808f9c49e1959502..e14cb525c640cb15bb6b2dfb62ccebbe78cb45cd:/SL/Template/Plugin/LxERP.pm diff --git a/SL/Template/Plugin/LxERP.pm b/SL/Template/Plugin/LxERP.pm index dded29777..40bf195f2 100644 --- a/SL/Template/Plugin/LxERP.pm +++ b/SL/Template/Plugin/LxERP.pm @@ -109,9 +109,8 @@ sub abs { } sub t8 { - my ($self, $text, $args) = @_; - $self->{locale} ||= Locale->new($::myconfig{countrycode}, 'all'); - return $self->{locale}->text($text, @args) || $text; + my ($self, $text, @args) = @_; + return $::locale->text($text, @args) || $text; } 1;