- add and use LOCALEDIR variable; move LOCALEDIR_VAR to global.h

This commit is contained in:
svenhoefer
2015-05-06 10:33:50 +02:00
parent abc145fa78
commit 910497f762
7 changed files with 14 additions and 7 deletions

View File

@@ -184,7 +184,7 @@ void COsdLangSetup::showLanguageSetup(CMenuWidget *osdl_setup)
{
struct dirent **namelist;
int n;
const char *pfad[] = {DATADIR "/neutrino/locale", "/var/tuxbox/locale"};
const char *pfad[] = { LOCALEDIR, LOCALEDIR_VAR };
osdl_setup->addIntroItems();