[Bf-blender-cvs] [14bd257bb78] master: Fix (unreported) message wrongly using IFACE_ for its translation.

Bastien Montagne noreply at git.blender.org
Tue Jun 11 21:15:40 CEST 2019


Commit: 14bd257bb780411ff949129aec4d59ef61423306
Author: Bastien Montagne
Date:   Tue Jun 11 20:54:43 2019 +0200
Branches: master
https://developer.blender.org/rB14bd257bb780411ff949129aec4d59ef61423306

Fix (unreported) message wrongly using IFACE_ for its translation.

`IFACE_` is for short strings always shown in UI (like labels of buttons,
menu entries...). Every thing else, especially when more than a couple
of words, must use `TIP_`.

===================================================================

M	source/blender/editors/space_outliner/outliner_dragdrop.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_dragdrop.c b/source/blender/editors/space_outliner/outliner_dragdrop.c
index 49ba397a108..d8276aa2bbc 100644
--- a/source/blender/editors/space_outliner/outliner_dragdrop.c
+++ b/source/blender/editors/space_outliner/outliner_dragdrop.c
@@ -802,7 +802,7 @@ static bool collection_drop_poll(bContext *C,
     if (!data.from || event->ctrl) {
       tselem->flag |= TSE_DRAG_INTO;
       changed = true;
-      *tooltip = IFACE_("Link inside Collection");
+      *tooltip = TIP_("Link inside Collection");
     }
     else {
       switch (data.insert_type) {



More information about the Bf-blender-cvs mailing list