Add locale for modules

This commit is contained in:
jp9000
2014-07-09 22:12:57 -07:00
parent aed8f54f1a
commit 482791c5b6
60 changed files with 357 additions and 157 deletions

View File

@@ -6,8 +6,7 @@ struct rtmp_custom {
static const char *rtmp_custom_name(void)
{
/* TODO: locale */
return "Custom Streaming Server";
return obs_module_text("CustomStreamingServer");
}
static void rtmp_custom_update(void *data, obs_data_t settings)
@@ -43,10 +42,10 @@ static obs_properties_t rtmp_custom_properties(void)
{
obs_properties_t ppts = obs_properties_create();
/* TODO: locale */
obs_properties_add_text(ppts, "server", "URL", OBS_TEXT_DEFAULT);
obs_properties_add_text(ppts, "key", "Stream Key", OBS_TEXT_PASSWORD);
obs_properties_add_text(ppts, "key", obs_module_text("StreamKey"),
OBS_TEXT_PASSWORD);
return ppts;
}