Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2022-05-23 19:16:04 +0300
committerBastien Montagne <bastien@blender.org>2022-05-23 19:16:04 +0300
commitec95f4a5dff90c9b3d9a4ee9b207ad56f4941cfc (patch)
tree3f0f8575eba0a2753eaafd0deb4e722270dc9ba6 /release
parent0e6d70fec9af379eabcf2600bd574dd1488f8751 (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...
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py2
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()