diff options
author | Bastien Montagne <bastien@blender.org> | 2022-05-23 19:16:04 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-05-23 19:16:04 +0300 |
commit | ec95f4a5dff90c9b3d9a4ee9b207ad56f4941cfc (patch) | |
tree | 3f0f8575eba0a2753eaafd0deb4e722270dc9ba6 | |
parent | 0e6d70fec9af379eabcf2600bd574dd1488f8751 (diff) |
Fix T96878: When interface translation is enabled, grease pencil layer name is translated in menu.
Those type of entries have to be tagged as not translatable...
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 481753d5e79..9864bb3336f 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -251,7 +251,7 @@ class GPENCIL_MT_move_to_layer(Menu): icon = 'GREASEPENCIL' else: icon = 'NONE' - layout.operator("gpencil.move_to_layer", text=gpl.info, icon=icon).layer = i + layout.operator("gpencil.move_to_layer", text=gpl.info, icon=icon, translate=False).layer = i i -= 1 layout.separator() |