diff options
author | Bastien Montagne <bastien@blender.org> | 2022-03-03 16:50:52 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-03-03 16:52:45 +0300 |
commit | 1b863041c9746029bd6d867539550043944822d9 (patch) | |
tree | 4f95d9245ab912dff0db4cf32f90b6485a951196 /source/blender/editors/space_graph | |
parent | 0f7793303118a7e3bf62168e9e8bca4d9e28f873 (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); } /** \} */ |