Move locale.ini to obs-studio base data directory

Being in with the other locale files causes a bit of confusion,
especially since the locale files will all be renamed to have .ini
extensions.
master
jp9000 2014-07-07 21:46:55 -07:00
parent 39930b1582
commit 48d8ebcc47
2 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ OBSBasicSettings::OBSBasicSettings(QWidget *parent)
ui->setupUi(this);
if (!GetDataFilePath("locale/locale.ini", path))
throw "Could not find locale/locale.ini path";
if (!GetDataFilePath("locale.ini", path))
throw "Could not find locale.ini path";
if (localeIni.Open(path.c_str(), CONFIG_OPEN_EXISTING) != 0)
throw "Could not open locale.ini";