locale: move first-search locale-dir from /var/tuxbox/config/locale ...

... to /var/tuxbox/locale


Origin commit data
------------------
Branch: ni/coolstream
Commit: e8c0543ac1
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-03-07 (Fri, 07 Mar 2014)

Origin message was:
------------------
- locale: move first-search locale-dir from /var/tuxbox/config/locale ...

... to /var/tuxbox/locale


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2014-03-07 22:49:36 +01:00
parent 2dcec22a22
commit a39b57437d

View File

@@ -108,7 +108,8 @@ CLocaleManager::~CLocaleManager()
::free(defaultDataMem);
}
const char * path[2] = { CONFIGDIR "/locale/", DATADIR "/neutrino/locale/"};
#define LOCALEDIR_VAR "/var/tuxbox/locale"
const char * path[2] = { LOCALEDIR_VAR, DATADIR "/neutrino/locale/"};
CLocaleManager::loadLocale_ret_t CLocaleManager::loadLocale(const char * const locale, bool asdefault)
{