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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 910497f762
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-06 (Wed, 06 May 2015)

Origin message was:
------------------
- add and use LOCALEDIR variable; move LOCALEDIR_VAR to global.h

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-05-06 10:33:50 +02:00
parent 5632cf2d2a
commit c2486e880b
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();