Browse Source

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.
Norihiro Kamae 2 years ago
parent
commit
38b4cce99e
1 changed files with 4 additions and 2 deletions
  1. 4 2
      plugins/obs-filters/chroma-key-filter.c

+ 4 - 2
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);