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>2021-11-02 19:20:24 +0300
committerBastien Montagne <bastien@blender.org>2021-11-02 19:49:32 +0300
commit20b163b53309fb6fbbb5aab78cde0d14e163e3b4 (patch)
tree1b0e53a6d499591fb17970ca67042e5cea81254a
parent980bc5a707551f6db18deeeb29c5f59f7a7c98bc (diff)
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.
-rw-r--r--source/blender/modifiers/intern/MOD_nodes.cc4
1 files changed, 2 insertions, 2 deletions
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);
}
}