1 package SL::Template::Plugin::T8;
4 use parent qw( Template::Plugin::Filter );
11 return $cached_instance ||= $class->SUPER::new(@_);
17 $self->install_filter($self->{ _ARGS }->[0] || 'T8');
23 my ($self, $text, $args) = @_;
24 return $::locale->text($text, @{ $args || [] }) || $text;
27 return 'SL::Template::Plugin::T8';