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:
parent
9f652e6416
commit
899f053034
6 changed files with 42 additions and 8 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue