diff options
Diffstat (limited to 'source/blender/nodes/function/nodes/node_fn_replace_string.cc')
-rw-r--r-- | source/blender/nodes/function/nodes/node_fn_replace_string.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/nodes/function/nodes/node_fn_replace_string.cc b/source/blender/nodes/function/nodes/node_fn_replace_string.cc index 1ec4979176e..881a3c68e7d 100644 --- a/source/blender/nodes/function/nodes/node_fn_replace_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_replace_string.cc @@ -22,10 +22,11 @@ namespace blender::nodes { static void fn_node_replace_string_declare(NodeDeclarationBuilder &b) { - b.add_input<decl::String>("String"); - b.add_input<decl::String>("Find").description("The string to find in the input string"); - b.add_input<decl::String>("Replace").description("The string to replace each match with"); - b.add_output<decl::String>("String"); + b.add_input<decl::String>(N_("String")); + b.add_input<decl::String>(N_("Find")).description(N_("The string to find in the input string")); + b.add_input<decl::String>(N_("Replace")) + .description(N_("The string to replace each match with")); + b.add_output<decl::String>(N_("String")); }; static std::string replace_all(std::string str, const std::string &from, const std::string &to) |