Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[kivitendo-erp.git] / SL / Template / Plugin / LxERP.pm
index dded297..40bf195 100644 (file)
@@ -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;