ylanguage.cpp: fix path to user's locale

Origin commit data
------------------
Branch: ni/coolstream
Commit: fa68e5cf7e
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-04-04 (Sat, 04 Apr 2015)

Origin message was:
------------------
- ylanguage.cpp: fix path to user's locale

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-04-04 14:15:04 +02:00
parent 391bfb77b1
commit f631badc98

View File

@@ -76,7 +76,7 @@ void CLanguage::setLanguage(std::string _language){
ConfigLanguage->loadConfig(language_dir + "/" + _language); ConfigLanguage->loadConfig(language_dir + "/" + _language);
DefaultLanguage->loadConfig(language_dir + "/" + HTTPD_DEFAULT_LANGUAGE); DefaultLanguage->loadConfig(language_dir + "/" + HTTPD_DEFAULT_LANGUAGE);
const char * path[2] = { CONFIGDIR "/locale/", DATADIR "/neutrino/locale/"}; const char * path[2] = { "/var/tuxbox/locale/", DATADIR "/neutrino/locale/"};
for (int i = 0; i < 2; i++) for (int i = 0; i < 2; i++)
{ {
std::string filename = path[i]; std::string filename = path[i];