Fix a couple of spelling mistakes

bzr-revno: 1897
This commit is contained in:
Jonathan Corwin 2012-03-10 23:00:14 +00:00
commit e3d523042b
4 changed files with 8 additions and 8 deletions

View File

@ -357,7 +357,7 @@ class AdvancedTab(SettingsTab):
translate('OpenLP.GeneralTab', '&Next Item'))
self.nextItemLabel.setText(
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.'))
def load(self):

View File

@ -47,7 +47,7 @@ class MediaController(object):
self.parent = parent
self.mediaPlayers = {}
self.controller = []
self.overridenPlayer = ''
self.overriddenPlayer = ''
self.curDisplayMediaPlayer = {}
# Timer for video state
self.timer = QtCore.QTimer()
@ -366,8 +366,8 @@ class MediaController(object):
usedPlayers = playerSettings.split(u',')
if QtCore.QSettings().value(u'media/override player',
QtCore.QVariant(QtCore.Qt.Unchecked)) == QtCore.Qt.Checked:
if self.overridenPlayer != '':
usedPlayers = [self.overridenPlayer]
if self.overriddenPlayer != '':
usedPlayers = [self.overriddenPlayer]
if controller.media_info.file_info.isFile():
suffix = u'*.%s' % \
controller.media_info.file_info.suffix().toLower()
@ -582,9 +582,9 @@ class MediaController(object):
QtCore.QVariant(u'webkit')).toString())
usedPlayers = playerSettings.split(u',')
if override_player in usedPlayers:
self.overridenPlayer = override_player
self.overriddenPlayer = override_player
else:
self.overridenPlayer = ''
self.overriddenPlayer = ''
def finalise(self):
self.timer.stop()

View File

@ -120,7 +120,7 @@ class MediaTab(SettingsTab):
self.advancedGroupBox.setTitle(UiStrings().Advanced)
self.overridePlayerCheckBox.setText(
translate('MediaPlugin.MediaTab',
'Allow media player to be overriden'))
'Allow media player to be overridden'))
def onPlayerCheckBoxChanged(self, check_state):
player = self.sender().text()

View File

@ -85,7 +85,7 @@ class PresentationTab(SettingsTab):
self.AdvancedGroupBox.setTitle(UiStrings().Advanced)
self.OverrideAppCheckBox.setText(
translate('PresentationPlugin.PresentationTab',
'Allow presentation application to be overriden'))
'Allow presentation application to be overridden'))
def setControllerText(self, checkbox, controller):
if checkbox.isEnabled():