forked from openlp/openlp
Fix a couple of spelling mistakes
bzr-revno: 1897
This commit is contained in:
commit
e3d523042b
@ -357,7 +357,7 @@ class AdvancedTab(SettingsTab):
|
|||||||
translate('OpenLP.GeneralTab', '&Next Item'))
|
translate('OpenLP.GeneralTab', '&Next Item'))
|
||||||
self.nextItemLabel.setText(
|
self.nextItemLabel.setText(
|
||||||
translate('OpenLP.GeneralTab', 'Up and down arrow keys '
|
translate('OpenLP.GeneralTab', 'Up and down arrow keys '
|
||||||
'advance to the the next or previous Service Item from the '
|
'advance to the next or previous Service Item from the '
|
||||||
'top and bottom slides of each Service Item.'))
|
'top and bottom slides of each Service Item.'))
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
|
@ -47,7 +47,7 @@ class MediaController(object):
|
|||||||
self.parent = parent
|
self.parent = parent
|
||||||
self.mediaPlayers = {}
|
self.mediaPlayers = {}
|
||||||
self.controller = []
|
self.controller = []
|
||||||
self.overridenPlayer = ''
|
self.overriddenPlayer = ''
|
||||||
self.curDisplayMediaPlayer = {}
|
self.curDisplayMediaPlayer = {}
|
||||||
# Timer for video state
|
# Timer for video state
|
||||||
self.timer = QtCore.QTimer()
|
self.timer = QtCore.QTimer()
|
||||||
@ -366,8 +366,8 @@ class MediaController(object):
|
|||||||
usedPlayers = playerSettings.split(u',')
|
usedPlayers = playerSettings.split(u',')
|
||||||
if QtCore.QSettings().value(u'media/override player',
|
if QtCore.QSettings().value(u'media/override player',
|
||||||
QtCore.QVariant(QtCore.Qt.Unchecked)) == QtCore.Qt.Checked:
|
QtCore.QVariant(QtCore.Qt.Unchecked)) == QtCore.Qt.Checked:
|
||||||
if self.overridenPlayer != '':
|
if self.overriddenPlayer != '':
|
||||||
usedPlayers = [self.overridenPlayer]
|
usedPlayers = [self.overriddenPlayer]
|
||||||
if controller.media_info.file_info.isFile():
|
if controller.media_info.file_info.isFile():
|
||||||
suffix = u'*.%s' % \
|
suffix = u'*.%s' % \
|
||||||
controller.media_info.file_info.suffix().toLower()
|
controller.media_info.file_info.suffix().toLower()
|
||||||
@ -582,9 +582,9 @@ class MediaController(object):
|
|||||||
QtCore.QVariant(u'webkit')).toString())
|
QtCore.QVariant(u'webkit')).toString())
|
||||||
usedPlayers = playerSettings.split(u',')
|
usedPlayers = playerSettings.split(u',')
|
||||||
if override_player in usedPlayers:
|
if override_player in usedPlayers:
|
||||||
self.overridenPlayer = override_player
|
self.overriddenPlayer = override_player
|
||||||
else:
|
else:
|
||||||
self.overridenPlayer = ''
|
self.overriddenPlayer = ''
|
||||||
|
|
||||||
def finalise(self):
|
def finalise(self):
|
||||||
self.timer.stop()
|
self.timer.stop()
|
||||||
|
@ -120,7 +120,7 @@ class MediaTab(SettingsTab):
|
|||||||
self.advancedGroupBox.setTitle(UiStrings().Advanced)
|
self.advancedGroupBox.setTitle(UiStrings().Advanced)
|
||||||
self.overridePlayerCheckBox.setText(
|
self.overridePlayerCheckBox.setText(
|
||||||
translate('MediaPlugin.MediaTab',
|
translate('MediaPlugin.MediaTab',
|
||||||
'Allow media player to be overriden'))
|
'Allow media player to be overridden'))
|
||||||
|
|
||||||
def onPlayerCheckBoxChanged(self, check_state):
|
def onPlayerCheckBoxChanged(self, check_state):
|
||||||
player = self.sender().text()
|
player = self.sender().text()
|
||||||
|
@ -85,7 +85,7 @@ class PresentationTab(SettingsTab):
|
|||||||
self.AdvancedGroupBox.setTitle(UiStrings().Advanced)
|
self.AdvancedGroupBox.setTitle(UiStrings().Advanced)
|
||||||
self.OverrideAppCheckBox.setText(
|
self.OverrideAppCheckBox.setText(
|
||||||
translate('PresentationPlugin.PresentationTab',
|
translate('PresentationPlugin.PresentationTab',
|
||||||
'Allow presentation application to be overriden'))
|
'Allow presentation application to be overridden'))
|
||||||
|
|
||||||
def setControllerText(self, checkbox, controller):
|
def setControllerText(self, checkbox, controller):
|
||||||
if checkbox.isEnabled():
|
if checkbox.isEnabled():
|
||||||
|
Loading…
Reference in New Issue
Block a user