0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

obs-filters: Add missing translation in chroma-key-filter

A selection Custom for a property key_color_type was not translated.
Use the same translation key CustomColor as color-key-filter.
This commit is contained in:
Norihiro Kamae 2023-05-20 20:07:53 +09:00 committed by Lain
parent d9c34eff8b
commit 38b4cce99e

View File

@ -447,7 +447,8 @@ static obs_properties_t *chroma_key_properties_v1(void *data)
obs_property_list_add_string(p, obs_module_text("Green"), "green");
obs_property_list_add_string(p, obs_module_text("Blue"), "blue");
obs_property_list_add_string(p, obs_module_text("Magenta"), "magenta");
obs_property_list_add_string(p, obs_module_text("Custom"), "custom");
obs_property_list_add_string(p, obs_module_text("CustomColor"),
"custom");
obs_property_set_modified_callback(p, key_type_changed);
@ -486,7 +487,8 @@ static obs_properties_t *chroma_key_properties_v2(void *data)
obs_property_list_add_string(p, obs_module_text("Green"), "green");
obs_property_list_add_string(p, obs_module_text("Blue"), "blue");
obs_property_list_add_string(p, obs_module_text("Magenta"), "magenta");
obs_property_list_add_string(p, obs_module_text("Custom"), "custom");
obs_property_list_add_string(p, obs_module_text("CustomColor"),
"custom");
obs_property_set_modified_callback(p, key_type_changed);