Browse Source

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.
jp9000 11 years ago
parent
commit
48d8ebcc47
2 changed files with 2 additions and 2 deletions
  1. 0 0
      build/data/obs-studio/locale.ini
  2. 2 2
      obs/window-basic-settings.cpp

+ 0 - 0
build/data/obs-studio/locale/locale.ini → build/data/obs-studio/locale.ini


+ 2 - 2
obs/window-basic-settings.cpp

@@ -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";