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.
This commit is contained in:
jp9000 committed 2014-07-07 21:46:55 -07:00
1 parent 39930b1582
commit 48d8ebcc47
2 files changed
+2 -2

No files matched your search

+2 -2
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";