[Bf-blender-cvs] [dabfac37e35] blender-v3.0-release: Fix more UI message/i18n issues.

Bastien Montagne noreply at git.blender.org
Tue Nov 2 17:04:46 CET 2021


Commit: dabfac37e35274bd68d74d4edb18b2827a6eec4e
Author: Bastien Montagne
Date:   Tue Nov 2 17:02:15 2021 +0100
Branches: blender-v3.0-release
https://developer.blender.org/rBdabfac37e35274bd68d74d4edb18b2827a6eec4e

Fix more UI message/i18n issues.

===================================================================

M	source/blender/editors/space_file/asset_catalog_tree_view.cc
M	source/blender/modifiers/intern/MOD_nodes.cc

===================================================================

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);
   }
 }



More information about the Bf-blender-cvs mailing list