forked from openlp/openlp
Some more string fixes.
This commit is contained in:
parent
9a46ebca56
commit
f1eeaff633
@ -296,7 +296,7 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
self.QuickSecondVersionLabel.setText(
|
self.QuickSecondVersionLabel.setText(
|
||||||
translate('BiblesPlugin.MediaItem', 'Dual:'))
|
translate('BiblesPlugin.MediaItem', 'Dual:'))
|
||||||
self.QuickSearchLabel.setText(
|
self.QuickSearchLabel.setText(
|
||||||
translate('BiblesPlugin.MediaItem', 'Search Type:'))
|
translate('BiblesPlugin.MediaItem', 'Search type:'))
|
||||||
self.QuickSearchLabel.setText(
|
self.QuickSearchLabel.setText(
|
||||||
translate('BiblesPlugin.MediaItem', 'Find:'))
|
translate('BiblesPlugin.MediaItem', 'Find:'))
|
||||||
self.QuickSearchButton.setText(
|
self.QuickSearchButton.setText(
|
||||||
@ -613,7 +613,7 @@ class BibleMediaItem(MediaManagerItem):
|
|||||||
if self.verses == 0:
|
if self.verses == 0:
|
||||||
self.AdvancedSearchButton.setEnabled(False)
|
self.AdvancedSearchButton.setEnabled(False)
|
||||||
self.AdvancedMessage.setText(
|
self.AdvancedMessage.setText(
|
||||||
translate('BiblesPlugin.MediaItem', 'Bible not fully loaded'))
|
translate('BiblesPlugin.MediaItem', 'Bible not fully loaded.'))
|
||||||
else:
|
else:
|
||||||
self.AdvancedSearchButton.setEnabled(True)
|
self.AdvancedSearchButton.setEnabled(True)
|
||||||
self.AdvancedMessage.setText(u'')
|
self.AdvancedMessage.setText(u'')
|
||||||
|
@ -161,31 +161,38 @@ class Ui_customEditDialog(object):
|
|||||||
customEditDialog.setWindowTitle(
|
customEditDialog.setWindowTitle(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Edit Custom Slides'))
|
translate('CustomPlugin.EditCustomForm', 'Edit Custom Slides'))
|
||||||
self.UpButton.setToolTip(
|
self.UpButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Move slide Up 1'))
|
translate('CustomPlugin.EditCustomForm', 'Move slide up once '
|
||||||
|
'position.'))
|
||||||
self.DownButton.setToolTip(
|
self.DownButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Move slide down 1'))
|
translate('CustomPlugin.EditCustomForm', 'Move slide down one '
|
||||||
|
'position.'))
|
||||||
self.TitleLabel.setText(
|
self.TitleLabel.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', '&Title:'))
|
translate('CustomPlugin.EditCustomForm', '&Title:'))
|
||||||
self.AddButton.setText(
|
self.AddButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Add New'))
|
translate('CustomPlugin.EditCustomForm', 'Add New'))
|
||||||
self.AddButton.setToolTip(
|
self.AddButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Add new slide at bottom'))
|
translate('CustomPlugin.EditCustomForm', 'Add a new slide at '
|
||||||
|
'bottom.'))
|
||||||
self.EditButton.setText(
|
self.EditButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Edit'))
|
translate('CustomPlugin.EditCustomForm', 'Edit'))
|
||||||
self.EditButton.setToolTip(
|
self.EditButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Edit selected slide'))
|
translate('CustomPlugin.EditCustomForm', 'Edit the selected '
|
||||||
|
'slide.'))
|
||||||
self.EditAllButton.setText(
|
self.EditAllButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Edit All'))
|
translate('CustomPlugin.EditCustomForm', 'Edit All'))
|
||||||
self.EditAllButton.setToolTip(
|
self.EditAllButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Edit all slides'))
|
translate('CustomPlugin.EditCustomForm', 'Edit all the slides at '
|
||||||
|
'once.'))
|
||||||
self.SaveButton.setText(
|
self.SaveButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Save'))
|
translate('CustomPlugin.EditCustomForm', 'Save'))
|
||||||
self.SaveButton.setToolTip(
|
self.SaveButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Replace edited slide'))
|
translate('CustomPlugin.EditCustomForm', 'Save the slide currently '
|
||||||
|
'being edited.'))
|
||||||
self.DeleteButton.setText(
|
self.DeleteButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Delete'))
|
translate('CustomPlugin.EditCustomForm', 'Delete'))
|
||||||
self.DeleteButton.setToolTip(
|
self.DeleteButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Delete selected slide'))
|
translate('CustomPlugin.EditCustomForm', 'Delete the selected '
|
||||||
|
'slide.'))
|
||||||
self.ClearButton.setText(
|
self.ClearButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Clear'))
|
translate('CustomPlugin.EditCustomForm', 'Clear'))
|
||||||
self.ClearButton.setToolTip(
|
self.ClearButton.setToolTip(
|
||||||
@ -193,7 +200,8 @@ class Ui_customEditDialog(object):
|
|||||||
self.SplitButton.setText(
|
self.SplitButton.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Split Slide'))
|
translate('CustomPlugin.EditCustomForm', 'Split Slide'))
|
||||||
self.SplitButton.setToolTip(
|
self.SplitButton.setToolTip(
|
||||||
translate('CustomPlugin.EditCustomForm', 'Add slide split'))
|
translate('CustomPlugin.EditCustomForm', 'Split a slide into two '
|
||||||
|
'by inserting a slide splitter.'))
|
||||||
self.ThemeLabel.setText(
|
self.ThemeLabel.setText(
|
||||||
translate('CustomPlugin.EditCustomForm', 'The&me:'))
|
translate('CustomPlugin.EditCustomForm', 'The&me:'))
|
||||||
self.CreditLabel.setText(
|
self.CreditLabel.setText(
|
||||||
|
@ -269,14 +269,16 @@ class EditCustomForm(QtGui.QDialog, Ui_customEditDialog):
|
|||||||
if len(self.TitleEdit.displayText()) == 0:
|
if len(self.TitleEdit.displayText()) == 0:
|
||||||
self.TitleEdit.setFocus()
|
self.TitleEdit.setFocus()
|
||||||
return False, translate('CustomPlugin.EditCustomForm',
|
return False, translate('CustomPlugin.EditCustomForm',
|
||||||
'You need to enter a title')
|
'You need to type in a title.')
|
||||||
# must have 1 slide
|
# must have 1 slide
|
||||||
if self.VerseListView.count() == 0:
|
if self.VerseListView.count() == 0:
|
||||||
self.VerseTextEdit.setFocus()
|
self.VerseTextEdit.setFocus()
|
||||||
return False, translate('CustomPlugin.EditCustomForm',
|
return False, translate('CustomPlugin.EditCustomForm',
|
||||||
'You need to enter a slide')
|
'You need to add at least one slide')
|
||||||
if self.VerseTextEdit.toPlainText():
|
if self.VerseTextEdit.toPlainText():
|
||||||
self.VerseTextEdit.setFocus()
|
self.VerseTextEdit.setFocus()
|
||||||
return False, translate('CustomPlugin.editCustomForm',
|
return False, translate('CustomPlugin.EditCustomForm',
|
||||||
'You have unsaved data, please save or clear')
|
'You have one or more unsaved slides, please either save your '
|
||||||
|
'slide(s) or clear your changes.')
|
||||||
return True, u''
|
return True, u''
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ class CustomTab(SettingsTab):
|
|||||||
self.CustomModeGroupBox.setTitle(translate('CustomPlugin.CustomTab',
|
self.CustomModeGroupBox.setTitle(translate('CustomPlugin.CustomTab',
|
||||||
'Custom Display'))
|
'Custom Display'))
|
||||||
self.DisplayFooterCheckBox.setText(
|
self.DisplayFooterCheckBox.setText(
|
||||||
translate('CustomPlugin.CustomTab', 'Display Footer'))
|
translate('CustomPlugin.CustomTab', 'Display footer'))
|
||||||
|
|
||||||
def onDisplayFooterCheckBoxChanged(self, check_state):
|
def onDisplayFooterCheckBoxChanged(self, check_state):
|
||||||
self.displayFooter = False
|
self.displayFooter = False
|
||||||
|
@ -123,7 +123,7 @@ class CustomMediaItem(MediaManagerItem):
|
|||||||
"""
|
"""
|
||||||
if check_item_selected(self.ListView,
|
if check_item_selected(self.ListView,
|
||||||
translate('CustomPlugin.MediaItem',
|
translate('CustomPlugin.MediaItem',
|
||||||
'You must select an item to edit.')):
|
'You haven\'t selected an item to edit.')):
|
||||||
item = self.ListView.currentItem()
|
item = self.ListView.currentItem()
|
||||||
item_id = (item.data(QtCore.Qt.UserRole)).toInt()[0]
|
item_id = (item.data(QtCore.Qt.UserRole)).toInt()[0]
|
||||||
self.parent.edit_custom_form.loadCustom(item_id, False)
|
self.parent.edit_custom_form.loadCustom(item_id, False)
|
||||||
@ -136,7 +136,7 @@ class CustomMediaItem(MediaManagerItem):
|
|||||||
"""
|
"""
|
||||||
if check_item_selected(self.ListView,
|
if check_item_selected(self.ListView,
|
||||||
translate('CustomPlugin.MediaItem',
|
translate('CustomPlugin.MediaItem',
|
||||||
'You must select an item to delete.')):
|
'You haven\'t selected an item to delete.')):
|
||||||
row_list = [item.row() for item in self.ListView.selectedIndexes()]
|
row_list = [item.row() for item in self.ListView.selectedIndexes()]
|
||||||
row_list.sort(reverse=True)
|
row_list.sort(reverse=True)
|
||||||
id_list = [(item.data(QtCore.Qt.UserRole)).toInt()[0]
|
id_list = [(item.data(QtCore.Qt.UserRole)).toInt()[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user