diff options
author | Bastien Montagne <bastien@blender.org> | 2021-11-02 19:02:15 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-11-02 19:02:33 +0300 |
commit | dabfac37e35274bd68d74d4edb18b2827a6eec4e (patch) | |
tree | cda700ba3315dff6d5899cfe25cdc4f10cd2ba04 | |
parent | cde982d672322ab816e90baaa2865ac54d23598d (diff) |
Fix more UI message/i18n issues.
-rw-r--r-- | source/blender/editors/space_file/asset_catalog_tree_view.cc | 2 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/asset_catalog_tree_view.cc b/source/blender/editors/space_file/asset_catalog_tree_view.cc index e6b76e05e16..b3b81c5e07f 100644 --- a/source/blender/editors/space_file/asset_catalog_tree_view.cc +++ b/source/blender/editors/space_file/asset_catalog_tree_view.cc @@ -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 diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index c88940c00c2..29bfa382674 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, 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); } } |