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...
This commit is contained in:
Bastien Montagne 2022-05-23 18:16:04 +02:00
parent 0e6d70fec9
commit ec95f4a5df
Notes: blender-bot 2023-02-14 04:46:12 +01:00
Referenced by issue #96878, When interface translation is enabled, grease pencil layer name is translated in menu
1 changed files with 1 additions and 1 deletions

View File

@ -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()