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_view3d/view3d_navigate.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/space_view3d') diff --git a/source/blender/editors/space_view3d/view3d_navigate.c b/source/blender/editors/space_view3d/view3d_navigate.c index d1e7f6ffb12..daf534ce0ba 100644 --- a/source/blender/editors/space_view3d/view3d_navigate.c +++ b/source/blender/editors/space_view3d/view3d_navigate.c @@ -12,6 +12,8 @@ #include "BLI_math.h" #include "BLI_rect.h" +#include "BLT_translation.h" + #include "BKE_armature.h" #include "BKE_context.h" #include "BKE_gpencil_geom.h" @@ -1239,6 +1241,8 @@ void VIEW3D_OT_view_axis(wmOperatorType *ot) ot->prop = RNA_def_enum(ot->srna, "type", prop_view_items, 0, "View", "Preset viewpoint to use"); RNA_def_property_flag(ot->prop, PROP_SKIP_SAVE); + RNA_def_property_translation_context(ot->prop, BLT_I18NCONTEXT_EDITOR_VIEW3D); + prop = RNA_def_boolean( ot->srna, "align_active", 0, "Align Active", "Align to the active object's axis"); RNA_def_property_flag(prop, PROP_SKIP_SAVE); -- cgit v1.2.3