I18n: Fix four messages that used the wrong translation macro

Four messages in geometry nodes appear in panel headers, but used
`TIP_` instead of `IFACE_`.

Reported by Alexandr Fatih.
This commit is contained in:
Damien Picard
2025-10-01 18:28:47 +02:00
committed by Bastien Montagne
parent 7ec15a3a98
commit b9401637c8
3 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *current_no
layout->op("node.sockets_sync", IFACE_("Sync"), ICON_FILE_REFRESH);
layout->prop(&output_node_ptr, "define_signature", UI_ITEM_NONE, std::nullopt, ICON_NONE);
if (current_node->type_legacy == NODE_CLOSURE_INPUT) {
if (uiLayout *panel = layout->panel(C, "input_items", false, TIP_("Input Items"))) {
if (uiLayout *panel = layout->panel(C, "input_items", false, IFACE_("Input Items"))) {
socket_items::ui::draw_items_list_with_operators<ClosureInputItemsAccessor>(
C, panel, ntree, output_node);
socket_items::ui::draw_active_item_props<ClosureInputItemsAccessor>(
@@ -63,7 +63,7 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *current_no
}
}
else {
if (uiLayout *panel = layout->panel(C, "output_items", false, TIP_("Output Items"))) {
if (uiLayout *panel = layout->panel(C, "output_items", false, IFACE_("Output Items"))) {
socket_items::ui::draw_items_list_with_operators<ClosureOutputItemsAccessor>(
C, panel, ntree, output_node);
socket_items::ui::draw_active_item_props<ClosureOutputItemsAccessor>(

View File

@@ -99,7 +99,7 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *node_ptr)
layout->op("node.sockets_sync", IFACE_("Sync"), ICON_FILE_REFRESH);
layout->prop(node_ptr, "define_signature", UI_ITEM_NONE, std::nullopt, ICON_NONE);
if (uiLayout *panel = layout->panel(C, "bundle_items", false, TIP_("Bundle Items"))) {
if (uiLayout *panel = layout->panel(C, "bundle_items", false, IFACE_("Bundle Items"))) {
socket_items::ui::draw_items_list_with_operators<CombineBundleItemsAccessor>(
C, panel, ntree, node);
socket_items::ui::draw_active_item_props<CombineBundleItemsAccessor>(

View File

@@ -103,7 +103,7 @@ static void node_layout_ex(uiLayout *layout, bContext *C, PointerRNA *node_ptr)
layout->op("node.sockets_sync", IFACE_("Sync"), ICON_FILE_REFRESH);
layout->prop(node_ptr, "define_signature", UI_ITEM_NONE, std::nullopt, ICON_NONE);
if (uiLayout *panel = layout->panel(C, "bundle_items", false, TIP_("Bundle Items"))) {
if (uiLayout *panel = layout->panel(C, "bundle_items", false, IFACE_("Bundle Items"))) {
socket_items::ui::draw_items_list_with_operators<SeparateBundleItemsAccessor>(
C, panel, ntree, node);
socket_items::ui::draw_active_item_props<SeparateBundleItemsAccessor>(