X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ed4a9af1e86b98c870cfc0d16573bd59496bc7ba..87b0de4c742e6032bcb6bf8750b1d8144e1a9860:/SL/Locale.pm diff --git a/SL/Locale.pm b/SL/Locale.pm index 5016900fe..8fa37805d 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -214,6 +214,8 @@ sub text { my $self = shift; my $text = shift; + return $text->translated if (ref($text) || '') eq 'SL::Locale::String'; + if ($self->{texts}->{$text}) { $text = $self->{iconv}->convert($self->{texts}->{$text}); } else {