From 20b163b53309fb6fbbb5aab78cde0d14e163e3b4 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Tue, 2 Nov 2021 17:20:24 +0100 Subject: UIMessages/i18n: Fix incorrect part of rBdabfac37e35274b. My bad, forgot lower-level UI code does not handle translations itself. Thanks to Hans Goudey (@HooglyBoogly) for the heads up. --- source/blender/modifiers/intern/MOD_nodes.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 29bfa382674..f87ff844acf 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -1409,7 +1409,7 @@ static void panel_draw(const bContext *C, Panel *panel) if (has_legacy_node) { uiLayout *row = uiLayoutRow(layout, false); - uiItemL(row, N_("Node tree has legacy node"), ICON_ERROR); + uiItemL(row, TIP_("Node tree has legacy node"), ICON_ERROR); uiLayout *sub = uiLayoutRow(row, false); uiLayoutSetAlignment(sub, UI_LAYOUT_ALIGN_RIGHT); uiItemO(sub, "", ICON_VIEWZOOM, "NODE_OT_geometry_node_view_legacy"); @@ -1438,7 +1438,7 @@ static void output_attribute_panel_draw(const bContext *UNUSED(C), Panel *panel) } } if (!has_output_attribute) { - uiItemL(layout, N_("No group output attributes connected"), ICON_INFO); + uiItemL(layout, TIP_("No group output attributes connected"), ICON_INFO); } } -- cgit v1.2.3