jp9000/obs-studio — pull request #148 by jp9000 (2014-07-10 09:42:29+00:00)
Title: Module locale

Feel free to give me feedback as to whether this is okay to work with.

I made a very easy to use method of automatically handling locale loading/unlocking for modules. The OBS_MODULE_USE_DEFAULT_LOCALE macro will automatically handle all the locale loading stuff and use the text lookup functions for basic string lookups.

Then obs_module_text will work throughout any module to look up text from your locale files, as long as obs-module.h is included.