From 38b4cce99e4c7b770e4a631cd38575c7b4903a9a Mon Sep 17 00:00:00 2001 From: Norihiro Kamae Date: Sat, 20 May 2023 20:07:53 +0900 Subject: [PATCH] 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. --- plugins/obs-filters/chroma-key-filter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/obs-filters/chroma-key-filter.c b/plugins/obs-filters/chroma-key-filter.c index 598a617fd..2a5a6557a 100644 --- a/plugins/obs-filters/chroma-key-filter.c +++ b/plugins/obs-filters/chroma-key-filter.c @@ -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);