From f393137fd963b0898bb1c1204abfca639aae27a1 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 8 Jan 2010 09:14:56 +0100 Subject: [PATCH] =?utf8?q?Kosmetik:=20wir=20verwenden=20zwei=20Leerzeichen?= =?utf8?q?=20f=C3=BCr=20Einr=C3=BCckung?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Template/Plugin/T8.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SL/Template/Plugin/T8.pm b/SL/Template/Plugin/T8.pm index 79fab96bb..339faa941 100644 --- a/SL/Template/Plugin/T8.pm +++ b/SL/Template/Plugin/T8.pm @@ -6,19 +6,19 @@ use base qw( Template::Plugin::Filter ); my $locale = undef; sub init { - my $self = shift; + my $self = shift; - $locale ||= Locale->new($main::myconfig{countrycode}, 'all'); + $locale ||= Locale->new($main::myconfig{countrycode}, 'all'); - # first arg can specify filter name - $self->install_filter($self->{ _ARGS }->[0] || 'T8'); + # first arg can specify filter name + $self->install_filter($self->{ _ARGS }->[0] || 'T8'); - return $self; + return $self; } sub filter { - my ($self, $text, $args) = @_; - return $locale->text($text, @{ $args || [] }); + my ($self, $text, $args) = @_; + return $locale->text($text, @{ $args || [] }); } return 'SL::Template::Plugin::T8'; -- 2.20.1