mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-31 01:22:08 -05:00
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:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user