Fix more UI message/i18n issues.

This commit is contained in:
Bastien Montagne 2021-11-02 17:02:15 +01:00
parent cde982d672
commit dabfac37e3
Notes: blender-bot 2023-02-13 11:52:46 +01:00
Referenced by commit 20b163b533, UIMessages/i18n: Fix incorrect part of rBdabfac37e35274b.
2 changed files with 3 additions and 3 deletions

View File

@ -370,7 +370,7 @@ std::string AssetCatalogDropController::drop_tooltip_asset_catalog(const wmDrag
AssetCatalog *src_catalog = catalog_service->find_catalog(catalog_drag->drag_catalog_id);
return std::string(TIP_("Move Catalog")) + " '" + src_catalog->path.name() + "' " +
IFACE_("into") + " '" + catalog_item_.get_name() + "'";
TIP_("into") + " '" + catalog_item_.get_name() + "'";
}
std::string AssetCatalogDropController::drop_tooltip_asset_list(const wmDrag &drag) const

View File

@ -1409,7 +1409,7 @@ static void panel_draw(const bContext *C, Panel *panel)
if (has_legacy_node) {
uiLayout *row = uiLayoutRow(layout, false);
uiItemL(row, IFACE_("Node tree has legacy node"), ICON_ERROR);
uiItemL(row, N_("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, IFACE_("No group output attributes connected."), ICON_INFO);
uiItemL(layout, N_("No group output attributes connected"), ICON_INFO);
}
}