Conflicts:
SL/Template/Plugin/LxERP.pm
sub t8 {
my ($self, $text, $args) = @_;
$self->{locale} ||= Locale->new($::myconfig{countrycode}, 'all');
sub t8 {
my ($self, $text, $args) = @_;
$self->{locale} ||= Locale->new($::myconfig{countrycode}, 'all');
- return $self->{locale}->text($text, @{ $args || [] });
+ return $self->{locale}->text($text, @args) || $text;
sub filter {
my ($self, $text, $args) = @_;
sub filter {
my ($self, $text, $args) = @_;
- return $locale->text($text, @{ $args || [] });
+ return $locale->text($text, @{ $args || [] }) || $text;
}
return 'SL::Template::Plugin::T8';
}
return 'SL::Template::Plugin::T8';