Fix: I18n: Vector Math node label translation function #108029

Merged
Bastien Montagne merged 1 commits from pioverfour/blender:dp_fix_vector_math_node_label into blender-v3.6-release 2023-05-22 12:04:35 +02:00

1 Commits

Author SHA1 Message Date
Damien Picard 4336233087 Fix: I18n: Vector Math node label translation function
buildbot/vexp-code-patch-coordinator Build done. Details
The Vector Math node's label has a special function used to compute
its label based on the currently selected operation. This operation,
like that of the Math node, is extracted using the "NodeTree"
translation context.

Therefore, in this function it must also use the same context to
translate the label.

In addition, a few node types can have an "Unknown" label if there is
a problem with their internal state (operation, filter type, blending
type). This message can also be translated.
2023-05-18 00:16:18 +02:00