diff --git a/source/blender/nodes/composite/nodes/node_composite_kuwahara.cc b/source/blender/nodes/composite/nodes/node_composite_kuwahara.cc index 1cf421da78d..eaa4de38e43 100644 --- a/source/blender/nodes/composite/nodes/node_composite_kuwahara.cc +++ b/source/blender/nodes/composite/nodes/node_composite_kuwahara.cc @@ -29,10 +29,10 @@ NODE_STORAGE_FUNCS(NodeKuwaharaData) static void cmp_node_kuwahara_declare(NodeDeclarationBuilder &b) { - b.add_input(N_("Image")) + b.add_input("Image") .default_value({1.0f, 1.0f, 1.0f, 1.0f}) .compositor_domain_priority(0); - b.add_output(N_("Image")); + b.add_output("Image"); } static void node_composit_init_kuwahara(bNodeTree * /*ntree*/, bNode *node) diff --git a/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_corners_of_edge.cc b/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_corners_of_edge.cc index a7f8911c9a7..14d1e6c6e97 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_corners_of_edge.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_mesh_topology_corners_of_edge.cc @@ -13,25 +13,21 @@ namespace blender::nodes::node_geo_mesh_topology_corners_of_edge_cc { static void node_declare(NodeDeclarationBuilder &b) { - b.add_input(N_("Edge Index")) + b.add_input("Edge Index") .implicit_field(implicit_field_inputs::index) - .description(N_("The edge to retrieve data from. Defaults to the edge from the context")); - b.add_input(N_("Weights")) - .supports_field() - .hide_value() - .description(N_("Values that sort the corners attached to the edge")); - b.add_input(N_("Sort Index")) + .description("The edge to retrieve data from. Defaults to the edge from the context"); + b.add_input("Weights").supports_field().hide_value().description( + "Values that sort the corners attached to the edge"); + b.add_input("Sort Index") .min(0) .supports_field() - .description(N_("Which of the sorted corners to output")); - b.add_output(N_("Corner Index")) + .description("Which of the sorted corners to output"); + b.add_output("Corner Index") .field_source_reference_all() .description( - N_("A corner of the input edge in its face's winding order, chosen by the sort index")); - b.add_output(N_("Total")) - .field_source() - .reference_pass({0}) - .description(N_("The number of faces or corners connected to each edge")); + "A corner of the input edge in its face's winding order, chosen by the sort index"); + b.add_output("Total").field_source().reference_pass({0}).description( + "The number of faces or corners connected to each edge"); } class CornersOfEdgeInput final : public bke::MeshFieldInput { diff --git a/source/blender/nodes/geometry/nodes/node_geo_repeat_input.cc b/source/blender/nodes/geometry/nodes/node_geo_repeat_input.cc index 4fff3d585fb..0ce244e2c43 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_repeat_input.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_repeat_input.cc @@ -24,7 +24,7 @@ static void node_declare_dynamic(const bNodeTree &tree, NodeDeclaration &r_declaration) { NodeDeclarationBuilder b{r_declaration}; - b.add_input(N_("Iterations")).min(0).default_value(1); + b.add_input("Iterations").min(0).default_value(1); const NodeGeometryRepeatInput &storage = node_storage(node); const bNode *output_node = tree.node_by_id(storage.output_node_id); diff --git a/source/blender/nodes/geometry/nodes/node_geo_sample_volume.cc b/source/blender/nodes/geometry/nodes/node_geo_sample_volume.cc index ed1c29af494..8bba7e4c2ed 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_sample_volume.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_sample_volume.cc @@ -35,32 +35,32 @@ static void node_declare(NodeDeclarationBuilder &b) .translation_context(BLT_I18NCONTEXT_ID_ID) .supported_type(GeometryComponent::Type::Volume); - std::string grid_socket_description = N_( - "Expects a Named Attribute with the name of a Grid in the Volume"); + std::string grid_socket_description = + "Expects a Named Attribute with the name of a Grid in the Volume"; - b.add_input(N_("Grid"), "Grid_Vector") + b.add_input(("Grid"), "Grid_Vector") .field_on_all() .hide_value() .description(grid_socket_description); - b.add_input(N_("Grid"), "Grid_Float") + b.add_input(("Grid"), "Grid_Float") .field_on_all() .hide_value() .description(grid_socket_description); - b.add_input(N_("Grid"), "Grid_Bool") + b.add_input(("Grid"), "Grid_Bool") .field_on_all() .hide_value() .description(grid_socket_description); - b.add_input(N_("Grid"), "Grid_Int") + b.add_input(("Grid"), "Grid_Int") .field_on_all() .hide_value() .description(grid_socket_description); - b.add_input(N_("Position")).implicit_field(implicit_field_inputs::position); + b.add_input(("Position")).implicit_field(implicit_field_inputs::position); - b.add_output(N_("Value"), "Value_Vector").dependent_field({5}); - b.add_output(N_("Value"), "Value_Float").dependent_field({5}); - b.add_output(N_("Value"), "Value_Bool").dependent_field({5}); - b.add_output(N_("Value"), "Value_Int").dependent_field({5}); + b.add_output(("Value"), "Value_Vector").dependent_field({5}); + b.add_output(("Value"), "Value_Float").dependent_field({5}); + b.add_output(("Value"), "Value_Bool").dependent_field({5}); + b.add_output(("Value"), "Value_Int").dependent_field({5}); } static void search_node_add_ops(GatherAddNodeSearchParams ¶ms)