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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user