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 <montagne29@wanadoo.fr>2019-05-13 18:27:40 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-05-13 18:58:25 +0300
commit6ec096facfc6258cf3b88e70447058d35e18630f (patch)
treea72bfe0a015ead589241f413dfcf24009c4577a4 /release/scripts/startup/bl_ui/space_nla.py
parent9ed8f8a968a9b8389f711e951806795794f5ddde (diff)
I18n Disambiguation: "Add" in menu labels.
This one is usually a verb/action one in menus' labels, hence we give it the Operator default context. Part of T43295.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_nla.py')
-rw-r--r--release/scripts/startup/bl_ui/space_nla.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_nla.py b/release/scripts/startup/bl_ui/space_nla.py
index 324f92daaa2..61588ded29e 100644
--- a/release/scripts/startup/bl_ui/space_nla.py
+++ b/release/scripts/startup/bl_ui/space_nla.py
@@ -19,6 +19,7 @@
# <pep8 compliant>
from bpy.types import Header, Menu, Panel
+from bpy.app.translations import contexts as i18n_contexts
from .space_dopesheet import (
DopesheetFilterPopoverBase,
dopesheet_filter,
@@ -197,6 +198,7 @@ class NLA_MT_edit(Menu):
class NLA_MT_add(Menu):
bl_label = "Add"
+ bl_translation_context = i18n_contexts.operator_default
def draw(self, _context):
layout = self.layout