Add API for setting/getting current locale

This API is used to set the current locale for libobs, which it will set
for all modules when a module is loaded or specifically when the locale
is manually changed.
This commit is contained in:
jp9000
2014-06-25 12:36:17 -07:00
parent 9f652e6416
commit 899f053034
6 changed files with 42 additions and 8 deletions
+1 -1
View File
@@ -468,7 +468,7 @@ void OBSBasic::OBSInit()
show();
App()->processEvents();
if (!obs_startup())
if (!obs_startup(App()->GetLocale()))
throw "Failed to initialize libobs";
if (!InitBasicConfig())
throw "Failed to load basic.ini";