diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-18 09:21:52 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-08-18 09:21:52 +0200 |
commit | 8014316a315d445e3b5f53f21fd11ff89eeb8b45 (patch) | |
tree | fecb268f5d719e902970f56d73f8ed1142397110 /menu.c | |
parent | 48da9ba9c8f0d592f821c9a4afaca6eec7956981 (diff) | |
download | vdr-8014316a315d445e3b5f53f21fd11ff89eeb8b45.tar.gz vdr-8014316a315d445e3b5f53f21fd11ff89eeb8b45.tar.bz2 |
The "Setup/OSD/Language" menu now only shows those languages that actually have a locale (suggested by Anssi Hannula)
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.459 2007/08/12 10:44:35 kls Exp $ + * $Id: menu.c 1.460 2007/08/18 09:03:05 kls Exp $ */ #include "menu.h" @@ -2205,7 +2205,7 @@ void cMenuSetupOSD::Set(void) useSmallFontTexts[2] = tr("always"); Clear(); SetSection(tr("OSD")); - Add(new cMenuEditStraItem(tr("Setup.OSD$Language"), &osdLanguageIndex, I18nLanguages()->Size(), &I18nLanguages()->At(0))); + Add(new cMenuEditStraItem(tr("Setup.OSD$Language"), &osdLanguageIndex, I18nNumLanguagesWithLocale(), &I18nLanguages()->At(0))); Add(new cMenuEditStraItem(tr("Setup.OSD$Skin"), &skinIndex, numSkins, skinDescriptions)); if (themes.NumThemes()) Add(new cMenuEditStraItem(tr("Setup.OSD$Theme"), &themeIndex, themes.NumThemes(), themes.Descriptions())); |