Triode;663954 Wrote: > The backtrace shows where.... _localizeMenuItemText makes some strange > assumptions about when text should be translated...
Indeed... Code: -------------------- Index: Jive.pm =================================================================== --- Jive.pm (revision 33606) +++ Jive.pm (working copy) @@ -3034,14 +3034,14 @@ my $clone = Storable::dclone($item); if ( $clone->{stringToken} ) { - if ( $clone->{stringToken} eq uc( $clone->{stringToken} ) ) { + if ( $clone->{stringToken} eq uc( $clone->{stringToken} ) && Slim::Utils::Strings::stringExists( $clone->{stringToken} ) ) { $clone->{text} = $client->string( delete $clone->{stringToken} ); } else { $clone->{text} = delete $clone->{stringToken}; } } - elsif ( $clone->{text} && $clone->{text} eq uc( $clone->{text} ) ) { + elsif ( $clone->{text} && $clone->{text} eq uc( $clone->{text} ) && Slim::Utils::Strings::stringExists( $clone->{text} ) ) { $clone->{text} = $client->string( $clone->{text} ); } -------------------- Would this silence the backtrace? -- mherger Michael ----------------------------------------------------------------- http://www.herger.net/slim-plugins - AlbumReview, Biography, MusicInfoSCR ------------------------------------------------------------------------ mherger's Profile: http://forums.slimdevices.com/member.php?userid=50 View this thread: http://forums.slimdevices.com/showthread.php?t=90954 _______________________________________________ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/beta