From 1b863041c9746029bd6d867539550043944822d9 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 3 Mar 2022 14:50:52 +0100 Subject: i18n: Fix more potential contextual issues with "Back" UI label. Add 'ID_ACTION' context to some animation curve interpolation enums. Related to T95506/T43295. --- source/blender/editors/space_graph/graph_edit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_graph') 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); } /** \} */ -- cgit v1.2.3