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

... to /var/tuxbox/locale
This commit is contained in:
svenhoefer
2014-03-07 22:49:36 +01:00
parent 185a5c0e8b
commit e8c0543ac1

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)
{