Hi,

a bug report for Erland: In TrackStat's Plugin.pm, function
registerJiveMenu, the name 'TrackStat' is localized twice, because the
already localized return value of getDisplayName() is passed into the
string() function again. A patch that fixes that:


Code:
--------------------
    
  --- Plugin.pm.orig      2010-12-24 13:59:53.000000000 +0100
  +++ Plugin.pm   2010-12-24 13:35:48.000000000 +0100
  @@ -2833,7 +2833,7 @@
  my $client = shift;
  my @menuItems = (
  {
  -                       text => 
Slim::Utils::Strings::string(getDisplayName()),
  +                       text => 
Slim::Utils::Strings::string('PLUGIN_TRACKSTAT'),
  weight => 85,
  id => 'trackstat',
  menuIcon => 'iPeng/plugins/TrackStat/html/images/trackstat.png',
  
--------------------


-- 
maniac103
------------------------------------------------------------------------
maniac103's Profile: http://forums.slimdevices.com/member.php?userid=42191
View this thread: http://forums.slimdevices.com/showthread.php?t=84149

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to