diff options
author | Damien Picard <pioverfour> | 2022-07-15 15:12:34 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-07-15 15:15:40 +0300 |
commit | 180db0f752c88d3bbd47774a0f7c9a31de5a3864 (patch) | |
tree | 03256a023e11b42987ed39d0bcb8a52064a65bf1 /source/blender/modifiers/intern/MOD_build.c | |
parent | 914617f8fd01f8e84daf4ae0b8ea750a1bfbdc42 (diff) |
UI: make many modifier strings translatable
This includes:
- new modifier names
It mostly uses `N_` because the strings are actually translated elsewhere.
The goal is simply to export them to .po files.
Most of the new translations were reported in T43295#1105335.
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D15418
Diffstat (limited to 'source/blender/modifiers/intern/MOD_build.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_build.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_build.c b/source/blender/modifiers/intern/MOD_build.c index 687ff04cedf..a9b6af967be 100644 --- a/source/blender/modifiers/intern/MOD_build.c +++ b/source/blender/modifiers/intern/MOD_build.c @@ -13,6 +13,8 @@ #include "BLI_math_vector.h" #include "BLI_rand.h" +#include "BLT_translation.h" + #include "DNA_defaults.h" #include "DNA_mesh_types.h" #include "DNA_meshdata_types.h" @@ -311,7 +313,7 @@ static void panelRegister(ARegionType *region_type) } ModifierTypeInfo modifierType_Build = { - /* name */ "Build", + /* name */ N_("Build"), /* structName */ "BuildModifierData", /* structSize */ sizeof(BuildModifierData), /* srna */ &RNA_BuildModifier, |