I18n: Disambiguate "Split" in the context of the sequencer
Issue reported by Joan Pujolar.
This commit is contained in:
committed by
Bastien Montagne
parent
ddbc6ed858
commit
eedc381f87
@@ -1212,10 +1212,10 @@ class SEQUENCER_MT_strip(Menu):
|
||||
layout.separator()
|
||||
|
||||
with operator_context(layout, 'EXEC_REGION_WIN'):
|
||||
props = layout.operator("sequencer.split", text="Split")
|
||||
props = layout.operator("sequencer.split", text="Split", text_ctxt=i18n_contexts.id_sequence)
|
||||
props.type = 'SOFT'
|
||||
|
||||
props = layout.operator("sequencer.split", text="Hold Split")
|
||||
props = layout.operator("sequencer.split", text="Hold Split", text_ctxt=i18n_contexts.id_sequence)
|
||||
props.type = 'HARD'
|
||||
|
||||
layout.separator()
|
||||
@@ -1368,7 +1368,7 @@ class SEQUENCER_MT_context_menu(Menu):
|
||||
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
layout.operator("sequencer.split", text="Split").type = 'SOFT'
|
||||
layout.operator("sequencer.split", text="Split", text_ctxt=i18n_contexts.id_sequence).type = 'SOFT'
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user