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.
This commit is contained in:
Bastien Montagne
2019-05-13 17:27:40 +02:00
parent 9ed8f8a968
commit 6ec096facf
5 changed files with 20 additions and 9 deletions

View File

@@ -19,6 +19,7 @@
# <pep8 compliant>
import bpy
from bpy.types import Header, Menu, Panel
from bpy.app.translations import contexts as i18n_contexts
from rna_prop_ui import PropertyPanel
from .properties_grease_pencil_common import (
AnnotationDataPanel,
@@ -356,6 +357,7 @@ class SEQUENCER_MT_frame(Menu):
class SEQUENCER_MT_add(Menu):
bl_label = "Add"
bl_translation_context = i18n_contexts.operator_default
def draw(self, context):