Add locale for modules
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include <obs-module.h>
|
||||
|
||||
OBS_DECLARE_MODULE()
|
||||
OBS_MODULE_USE_DEFAULT_LOCALE("obs-x264", "en-US")
|
||||
|
||||
extern struct obs_encoder_info obs_x264_encoder;
|
||||
|
||||
@@ -11,3 +12,8 @@ bool obs_module_load(uint32_t libobs_ver)
|
||||
UNUSED_PARAMETER(libobs_ver);
|
||||
return true;
|
||||
}
|
||||
|
||||
void obs_module_unload(void)
|
||||
{
|
||||
OBS_MODULE_FREE_DEFAULT_LOCALE();
|
||||
}
|
||||
|
Reference in New Issue
Block a user