e773e0952a14a8703fcbe35ceef6e98fdefdf368
The Grease Pencil 3.0 layers and groups were not properly translated: - The layers and groups' names were translated during display in the layer list. Since they are data, they should be left untranslated at this time. - On object creation, the names "GP_Layer", "Color", "Lines", and "Fills" were not translated at all. This adds DATA_() macros around to translate them if the user has enabled translation of new data names. - The functions returning unique names for layers and groups unique_layer_group_name() and unique_layer_name() would return "GP_Layer" and "GP_Group" by default. These defaults are now translated. - When adding new layers and groups, the name was always hardcoded to "GP_Layer" and "GP_Group" because the operators' properties for the names defaulted to that, and prop defaults cannot be translated. Instead, make them default to a null string, but choose an appropriate name when executing the op. This name is chosen by unique_layer_name() and unique_layer_group_name(), whose defaults are now translated. Pull Request: https://projects.blender.org/blender/blender/pulls/112930
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
