forked from openlp/openlp
Bring back NextTrack
This commit is contained in:
parent
45e4d2c77d
commit
dded8ee569
@ -93,6 +93,7 @@ class UiStrings(object):
|
|||||||
self.New = translate('OpenLP.Ui', 'New')
|
self.New = translate('OpenLP.Ui', 'New')
|
||||||
self.NewService = translate('OpenLP.Ui', 'New Service')
|
self.NewService = translate('OpenLP.Ui', 'New Service')
|
||||||
self.NewTheme = translate('OpenLP.Ui', 'New Theme')
|
self.NewTheme = translate('OpenLP.Ui', 'New Theme')
|
||||||
|
self.NextTrack = translate('OpenLP.Ui', 'Next Track')
|
||||||
self.NFSs = translate('OpenLP.Ui', 'No File Selected', 'Singular')
|
self.NFSs = translate('OpenLP.Ui', 'No File Selected', 'Singular')
|
||||||
self.NFSp = translate('OpenLP.Ui', 'No Files Selected', 'Plural')
|
self.NFSp = translate('OpenLP.Ui', 'No Files Selected', 'Plural')
|
||||||
self.NISs = translate('OpenLP.Ui', 'No Item Selected', 'Singular')
|
self.NISs = translate('OpenLP.Ui', 'No Item Selected', 'Singular')
|
||||||
|
@ -291,7 +291,7 @@ class SlideController(Controller):
|
|||||||
self.toolbar.widgetForAction(self.audioPauseItem).setPopupMode(
|
self.toolbar.widgetForAction(self.audioPauseItem).setPopupMode(
|
||||||
QtGui.QToolButton.MenuButtonPopup)
|
QtGui.QToolButton.MenuButtonPopup)
|
||||||
self.nextTrackItem = create_action(self, u'nextTrackItem',
|
self.nextTrackItem = create_action(self, u'nextTrackItem',
|
||||||
text=translate('OpenLP.SlideController', 'Next Track'),
|
text=UiStrings().NextTrack,
|
||||||
icon=u':/slides/media_playback_next.png', tooltip=translate(
|
icon=u':/slides/media_playback_next.png', tooltip=translate(
|
||||||
'OpenLP.SlideController', 'Go to next audio track.'),
|
'OpenLP.SlideController', 'Go to next audio track.'),
|
||||||
category=self.category, context=QtCore.Qt.WindowShortcut,
|
category=self.category, context=QtCore.Qt.WindowShortcut,
|
||||||
|
Loading…
Reference in New Issue
Block a user