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/makesrna/intern/rna_userdef.c
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/makesrna/intern/rna_userdef.c')
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 2a759dde39a..9c4e51c260c 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -5134,6 +5134,7 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
"New Interpolation Type",
"Interpolation mode used for first keyframe on newly added F-Curves "
"(subsequent keyframes take interpolation from preceding keyframe)");
+ RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_ACTION);
prop = RNA_def_property(srna, "keyframe_new_handle_type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, rna_enum_keyframe_handle_type_items);