diff --git a/source/blender/makesrna/intern/rna_fcurve.cc b/source/blender/makesrna/intern/rna_fcurve.cc index 1d017ab984e..a5a7a632eaa 100644 --- a/source/blender/makesrna/intern/rna_fcurve.cc +++ b/source/blender/makesrna/intern/rna_fcurve.cc @@ -2297,6 +2297,7 @@ static void rna_def_fkeyframe(BlenderRNA *brna) RNA_def_property_enum_sdna(prop, nullptr, "hide"); RNA_def_property_enum_items(prop, rna_enum_beztriple_keyframe_type_items); RNA_def_property_ui_text(prop, "Type", "Type of keyframe (for visual purposes only)"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ACTION); RNA_def_property_update(prop, NC_ANIMATION | ND_KEYFRAME_PROP, "rna_Keyframe_update"); prop = RNA_def_property(srna, "easing", PROP_ENUM, PROP_NONE); diff --git a/source/blender/makesrna/intern/rna_grease_pencil.cc b/source/blender/makesrna/intern/rna_grease_pencil.cc index 66e1f7eec9e..133d43b9fc1 100644 --- a/source/blender/makesrna/intern/rna_grease_pencil.cc +++ b/source/blender/makesrna/intern/rna_grease_pencil.cc @@ -11,6 +11,8 @@ #include "BLI_string.h" +#include "BLT_translation.hh" + #include "DNA_grease_pencil_types.h" #include "DNA_scene_types.h" @@ -791,6 +793,7 @@ static void rna_def_grease_pencil_frame(BlenderRNA *brna) RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, ParameterFlag(0)); RNA_def_property_enum_items(prop, rna_enum_keyframe_type_items); RNA_def_property_ui_text(prop, "Keyframe Type", "Type of keyframe"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_GPENCIL); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_grease_pencil_update"); } @@ -1371,6 +1374,7 @@ static void rna_def_grease_pencil_onion_skinning(StructRNA *srna) RNA_def_parameter_clear_flags(prop, PROP_ANIMATABLE, ParameterFlag(0)); RNA_def_property_enum_items(prop, prop_enum_onion_keyframe_type_items); RNA_def_property_ui_text(prop, "Filter by Type", "Type of keyframe (for filtering)"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_GPENCIL); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_grease_pencil_update"); prop = RNA_def_property(srna, "use_onion_fade", PROP_BOOLEAN, PROP_NONE); diff --git a/source/blender/makesrna/intern/rna_scene.cc b/source/blender/makesrna/intern/rna_scene.cc index edec1dc212d..85efb19f20f 100644 --- a/source/blender/makesrna/intern/rna_scene.cc +++ b/source/blender/makesrna/intern/rna_scene.cc @@ -4044,6 +4044,7 @@ static void rna_def_tool_settings(BlenderRNA *brna) RNA_def_property_enum_items(prop, rna_enum_beztriple_keyframe_type_items); RNA_def_property_ui_text( prop, "New Keyframe Type", "Type of keyframes to create when inserting keyframes"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ACTION); /* UV */ prop = RNA_def_property(srna, "uv_select_mode", PROP_ENUM, PROP_NONE);