Fix NodeTree types UI messages not being properly tagged for translation.
Probably fix first part of T61446.
This commit is contained in:
@@ -3364,8 +3364,8 @@ static void register_undefined_types(void)
|
||||
*/
|
||||
|
||||
strcpy(NodeTreeTypeUndefined.idname, "NodeTreeUndefined");
|
||||
strcpy(NodeTreeTypeUndefined.ui_name, "Undefined");
|
||||
strcpy(NodeTreeTypeUndefined.ui_description, "Undefined Node Tree Type");
|
||||
strcpy(NodeTreeTypeUndefined.ui_name, N_("Undefined"));
|
||||
strcpy(NodeTreeTypeUndefined.ui_description, N_("Undefined Node Tree Type"));
|
||||
|
||||
node_type_base_custom(&NodeTypeUndefined, "NodeUndefined", "Undefined", 0, 0);
|
||||
NodeTypeUndefined.poll = node_undefined_poll;
|
||||
|
||||
@@ -194,9 +194,9 @@ void register_node_tree_type_cmp(void)
|
||||
|
||||
tt->type = NTREE_COMPOSIT;
|
||||
strcpy(tt->idname, "CompositorNodeTree");
|
||||
strcpy(tt->ui_name, "Compositing");
|
||||
strcpy(tt->ui_name, N_("Compositing"));
|
||||
tt->ui_icon = 0; /* defined in drawnode.c */
|
||||
strcpy(tt->ui_description, "Compositing nodes");
|
||||
strcpy(tt->ui_description, N_("Compositing nodes"));
|
||||
|
||||
tt->free_cache = free_cache;
|
||||
tt->free_node_cache = free_node_cache;
|
||||
|
||||
@@ -176,9 +176,9 @@ void register_node_tree_type_sh(void)
|
||||
|
||||
tt->type = NTREE_SHADER;
|
||||
strcpy(tt->idname, "ShaderNodeTree");
|
||||
strcpy(tt->ui_name, "Shader Editor");
|
||||
strcpy(tt->ui_name, N_("Shader Editor"));
|
||||
tt->ui_icon = 0; /* defined in drawnode.c */
|
||||
strcpy(tt->ui_description, "Shader nodes");
|
||||
strcpy(tt->ui_description, N_("Shader nodes"));
|
||||
|
||||
tt->foreach_nodeclass = foreach_nodeclass;
|
||||
tt->localize = localize;
|
||||
|
||||
@@ -155,9 +155,9 @@ void register_node_tree_type_tex(void)
|
||||
|
||||
tt->type = NTREE_TEXTURE;
|
||||
strcpy(tt->idname, "TextureNodeTree");
|
||||
strcpy(tt->ui_name, "Texture Node Editor");
|
||||
strcpy(tt->ui_name, N_("Texture Node Editor"));
|
||||
tt->ui_icon = 0; /* defined in drawnode.c */
|
||||
strcpy(tt->ui_description, "Texture nodes");
|
||||
strcpy(tt->ui_description, N_("Texture nodes"));
|
||||
|
||||
tt->foreach_nodeclass = foreach_nodeclass;
|
||||
tt->update = update;
|
||||
|
||||
Reference in New Issue
Block a user