forked from openlp/openlp
fixed string
This commit is contained in:
parent
d8cb799dea
commit
c3cb264d93
@ -119,6 +119,9 @@ class UiStrings(object):
|
|||||||
self.Settings = translate('OpenLP.Ui', 'Settings')
|
self.Settings = translate('OpenLP.Ui', 'Settings')
|
||||||
self.SaveService = translate('OpenLP.Ui', 'Save Service')
|
self.SaveService = translate('OpenLP.Ui', 'Save Service')
|
||||||
self.Service = translate('OpenLP.Ui', 'Service')
|
self.Service = translate('OpenLP.Ui', 'Service')
|
||||||
|
self.Split = translate('OpenLP.Ui', '&Split')
|
||||||
|
self.SplitToolTip = translate('OpenLP.Ui', 'Split a slide into two '
|
||||||
|
'only if it does not fit on the screen as one slide.')
|
||||||
self.StartTimeCode = unicode(translate('OpenLP.Ui', 'Start %s'))
|
self.StartTimeCode = unicode(translate('OpenLP.Ui', 'Start %s'))
|
||||||
self.Theme = translate('OpenLP.Ui', 'Theme', 'Singular')
|
self.Theme = translate('OpenLP.Ui', 'Theme', 'Singular')
|
||||||
self.Themes = translate('OpenLP.Ui', 'Themes', 'Plural')
|
self.Themes = translate('OpenLP.Ui', 'Themes', 'Plural')
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
from openlp.core.lib import translate, SpellTextEdit, build_icon
|
from openlp.core.lib import translate, SpellTextEdit, build_icon
|
||||||
from openlp.core.lib.ui import create_accept_reject_button_box
|
from openlp.core.lib.ui import create_accept_reject_button_box, UiStrings
|
||||||
|
|
||||||
class Ui_CustomSlideEditDialog(object):
|
class Ui_CustomSlideEditDialog(object):
|
||||||
def setupUi(self, customSlideEditDialog):
|
def setupUi(self, customSlideEditDialog):
|
||||||
@ -54,11 +54,8 @@ class Ui_CustomSlideEditDialog(object):
|
|||||||
QtCore.QMetaObject.connectSlotsByName(customSlideEditDialog)
|
QtCore.QMetaObject.connectSlotsByName(customSlideEditDialog)
|
||||||
|
|
||||||
def retranslateUi(self, customSlideEditDialog):
|
def retranslateUi(self, customSlideEditDialog):
|
||||||
self.splitButton.setText(
|
self.splitButton.setText(UiStrings().Split)
|
||||||
translate('CustomPlugin.EditCustomForm', 'Split Slide'))
|
self.splitButton.setToolTip(UiStrings().SplitToolTip)
|
||||||
self.splitButton.setToolTip(
|
|
||||||
translate('CustomPlugin.EditCustomForm', 'Split a slide into two '
|
|
||||||
'only if it does not fit on the screen as one slide.'))
|
|
||||||
self.insertButton.setText(
|
self.insertButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Insert Slide'))
|
translate('CustomPlugin.EditCustomForm', 'Insert Slide'))
|
||||||
self.insertButton.setToolTip(
|
self.insertButton.setToolTip(
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
from openlp.core.lib import build_icon, translate, SpellTextEdit
|
from openlp.core.lib import build_icon, translate, SpellTextEdit
|
||||||
from openlp.core.lib.ui import create_accept_reject_button_box
|
from openlp.core.lib.ui import create_accept_reject_button_box, UiStrings
|
||||||
from openlp.plugins.songs.lib import VerseType
|
from openlp.plugins.songs.lib import VerseType
|
||||||
|
|
||||||
class Ui_EditVerseDialog(object):
|
class Ui_EditVerseDialog(object):
|
||||||
@ -89,11 +89,8 @@ class Ui_EditVerseDialog(object):
|
|||||||
VerseType.TranslatedNames[VerseType.Ending])
|
VerseType.TranslatedNames[VerseType.Ending])
|
||||||
self.verseTypeComboBox.setItemText(VerseType.Other,
|
self.verseTypeComboBox.setItemText(VerseType.Other,
|
||||||
VerseType.TranslatedNames[VerseType.Other])
|
VerseType.TranslatedNames[VerseType.Other])
|
||||||
self.splitButton.setText(
|
self.splitButton.setText(UiStrings().Split)
|
||||||
translate('SongsPlugin.EditVerseForm', '&Split'))
|
self.splitButton.setToolTip(UiStrings().SplitToolTip)
|
||||||
self.splitButton.setToolTip(
|
|
||||||
translate('SongsPlugin.EditVerseForm', 'Split a slide into two '
|
|
||||||
'only if it does not fit on the screen as one slide.'))
|
|
||||||
self.insertButton.setText(
|
self.insertButton.setText(
|
||||||
translate('SongsPlugin.EditVerseForm', '&Insert'))
|
translate('SongsPlugin.EditVerseForm', '&Insert'))
|
||||||
self.insertButton.setToolTip(
|
self.insertButton.setToolTip(
|
||||||
|
Loading…
Reference in New Issue
Block a user