diff options
author | Damien Picard <pioverfour> | 2022-10-05 18:43:17 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-10-05 18:47:54 +0300 |
commit | 860a539fb5669886255400605c68fd1bfd834add (patch) | |
tree | 32063fb8542ec7b4be9be75504b0873bdc628772 /source/blender/makesrna/intern/rna_nodetree.c | |
parent | 195bcea0d0ac4d0e9e0392b5ae435624063b9002 (diff) |
I18n: extract dynamic enum items
These item names and descriptions never got extracted because they're
not in the RNA until the proper context occurs, and so the extraction
script never even knew about them.
The properties are mostly located in the fluids UI.
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D15994
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 74b1d9ab970..a0a933c3f90 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -828,21 +828,21 @@ static const EnumPropertyItem *rna_node_static_type_itemf(bContext *UNUSED(C), tmp.value = NODE_CUSTOM; tmp.identifier = "CUSTOM"; - tmp.name = "Custom"; - tmp.description = "Custom Node"; + tmp.name = N_("Custom"); + tmp.description = N_("Custom Node"); tmp.icon = ICON_NONE; RNA_enum_item_add(&item, &totitem, &tmp); tmp.value = NODE_CUSTOM_GROUP; tmp.identifier = "CUSTOM GROUP"; - tmp.name = "CustomGroup"; - tmp.description = "Custom Group Node"; + tmp.name = N_("CustomGroup"); + tmp.description = N_("Custom Group Node"); tmp.icon = ICON_NONE; RNA_enum_item_add(&item, &totitem, &tmp); tmp.value = NODE_UNDEFINED; tmp.identifier = "UNDEFINED"; - tmp.name = "UNDEFINED"; + tmp.name = N_("UNDEFINED"); tmp.description = ""; tmp.icon = ICON_NONE; RNA_enum_item_add(&item, &totitem, &tmp); |