Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2022-03-03 16:50:52 +0300
committerBastien Montagne <bastien@blender.org>2022-03-03 16:52:45 +0300
commit1b863041c9746029bd6d867539550043944822d9 (patch)
tree4f95d9245ab912dff0db4cf32f90b6485a951196 /source/blender/editors/space_action
parent0f7793303118a7e3bf62168e9e8bca4d9e28f873 (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_action')
-rw-r--r--source/blender/editors/space_action/action_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c
index 9d686f03bec..f0ada312d82 100644
--- a/source/blender/editors/space_action/action_edit.c
+++ b/source/blender/editors/space_action/action_edit.c
@@ -1374,6 +1374,7 @@ void ACTION_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);
}
/* ******************** Set Easing Operator *********************** */