Bugzilla – Bug 5028
"Select Player Font" dropbox not completely localized
Last modified: 2008-12-18 11:12:12 UTC
Report from team testing translation of SlimServer to German that the dropbox on this screen was not completely localized to German. Probably an issue for all other languages. Screenshot to follow.
Created attachment 1979 [details] Screenshot
*** Bug 5019 has been marked as a duplicate of this bug. ***
*** Bug 5061 has been marked as a duplicate of this bug. ***
This appears to do the trick. Using getString means we'll avoid a warning in the logs if there is no string defined in strings.txt for the given language. I included the german strings given in one of the other dupes. Index: Slim/Web/Setup.pm =================================================================== --- Slim/Web/Setup.pm (revision 12022) +++ Slim/Web/Setup.pm (working copy) @@ -2418,7 +2418,7 @@ foreach my $f (@$fonts) { if ($displayHeight == Slim::Display::Lib::Fonts::fontheight($f . '.2') && Slim::Display::Lib::Fonts::fontchars($f . '.2') > 255 ) { - $allowedfonts{$f} = $f; + $allowedfonts{$f} = Slim::Utils::Strings::getString($f); } } Index: strings.txt =================================================================== --- strings.txt (revision 12022) +++ strings.txt (working copy) @@ -8585,6 +8585,22 @@ NL Hoog ZH_CN 高 +FULL + DE Voll + EN Full + +LIGHT + DE Klein + EN Light + +THREELINE + DE 3 Zeilig + EN Threeline + +STANDARD + DE Standard + EN Standard + TITLEFORMAT CS Formát názvu skladby DA Format for sangtitler
Thanks KDF. Looking good. But Eric (localization manager) is leaving for a two weeks vacation. This therefore won't make it into 6.5.2.
Most users don't change the player font and 'Standard' is the same in both languages.
and since Michael feels this isn't safe for 6.5.2, lets punt to 6.5.3 now that it's available.
we don't have translations except for Hebrew
now in trunk at change 12089, and 6.5.3 at change 12090 awaiting translations for everything aside from EN and DE.
Another bug that appears to be waiting on translations.
Change 12286 -- June 22 2007 build