diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_tracking.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_tracking.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c index b9acd57430b..c4a11d4e9e0 100644 --- a/source/blender/makesrna/intern/rna_tracking.c +++ b/source/blender/makesrna/intern/rna_tracking.c @@ -13,6 +13,8 @@ #include "BKE_node_tree_update.h" #include "BKE_tracking.h" +#include "BLT_translation.h" + #include "RNA_access.h" #include "RNA_define.h" @@ -2197,6 +2199,7 @@ static void rna_def_trackingTracks(BlenderRNA *brna) prop, "rna_tracking_active_track_get", "rna_tracking_active_track_set", NULL, NULL); RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK); RNA_def_property_ui_text(prop, "Active Track", "Active track in this tracking data object"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP); } static void rna_def_trackingPlaneTracks(BlenderRNA *brna) @@ -2257,6 +2260,7 @@ static void rna_def_trackingObjectTracks(BlenderRNA *brna) prop, "rna_tracking_active_track_get", "rna_tracking_active_track_set", NULL, NULL); RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK); RNA_def_property_ui_text(prop, "Active Track", "Active track in this tracking data object"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP); } static void rna_def_trackingObjectPlaneTracks(BlenderRNA *brna) @@ -2278,6 +2282,7 @@ static void rna_def_trackingObjectPlaneTracks(BlenderRNA *brna) NULL); RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK); RNA_def_property_ui_text(prop, "Active Track", "Active track in this tracking data object"); + RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP); } static void rna_def_trackingObject(BlenderRNA *brna) |