[Bf-blender-cvs] [7c9e649015d] master: I18n disambiguation: Drag (physics force vs. mouse action).
Bastien Montagne
noreply at git.blender.org
Thu May 9 11:39:09 CEST 2019
Commit: 7c9e649015d45546c43170066397603e50166509
Author: Bastien Montagne
Date: Thu May 9 10:52:34 2019 +0200
Branches: master
https://developer.blender.org/rB7c9e649015d45546c43170066397603e50166509
I18n disambiguation: Drag (physics force vs. mouse action).
Part of T43295.
===================================================================
M source/blender/editors/interface/interface_region_tooltip.c
===================================================================
diff --git a/source/blender/editors/interface/interface_region_tooltip.c b/source/blender/editors/interface/interface_region_tooltip.c
index 4a9c7b689c1..5b205de21b8 100644
--- a/source/blender/editors/interface/interface_region_tooltip.c
+++ b/source/blender/editors/interface/interface_region_tooltip.c
@@ -891,11 +891,11 @@ static uiTooltipData *ui_tooltip_data_from_gizmo(bContext *C, wmGizmo *gz)
} gzop_actions[] = {
{
.part = gz->highlight_part,
- .prefix = use_drag ? TIP_("Click") : NULL,
+ .prefix = use_drag ? CTX_TIP_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Click") : NULL,
},
{
.part = use_drag ? gz->drag_part : -1,
- .prefix = use_drag ? TIP_("Drag") : NULL,
+ .prefix = use_drag ? CTX_TIP_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Drag") : NULL,
},
};
More information about the Bf-blender-cvs
mailing list