diff options
author | Bastien Montagne <bastien@blender.org> | 2022-03-03 16:50:52 +0300 |
---|---|---|
committer | Fabian Schempp <fabianschempp@googlemail.com> | 2022-04-11 01:30:30 +0300 |
commit | 29bb1219a0d4d160cffeccd071d0d13fa3eba7b3 (patch) | |
tree | fb101a7ac17ed11813f09b44da01f870549b6b75 /source/blender/editors/space_graph | |
parent | 6531f9735abf42e412952eb3d5702454958e1fad (diff) |
i18n: Fix more potential contextual issues with "Back" UI label.
Add 'ID_ACTION' context to some animation curve interpolation enums.
Related to T95506/T43295.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index b030d0778fa..4c1fcf5263a 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -1524,6 +1524,7 @@ void GRAPH_OT_interpolation_type(wmOperatorType *ot) /* Id-props */ ot->prop = RNA_def_enum( ot->srna, "type", rna_enum_beztriple_interpolation_mode_items, 0, "Type", ""); + RNA_def_property_translation_context(ot->prop, BLT_I18NCONTEXT_ID_ACTION); } /** \} */ |