X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d7946c4cb08b1737bddbcfe345322c691c240ec0..b6fd15a8dc44f9b09d5a2bce766cda14b87c6e13:/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 {