forked from openlp/openlp
Fixes and cleanups
This commit is contained in:
parent
323ab52848
commit
321269b11b
@ -97,7 +97,7 @@ class AlertForm(QtGui.QDialog, Ui_AlertDialog):
|
||||
def onNewClick(self):
|
||||
if len(self.alertTextEdit.text()) == 0:
|
||||
QtGui.QMessageBox.information(self, UiStrings.NewType %
|
||||
self.plugin.getString(StringContent.Name)[u'singular']
|
||||
self.plugin.getString(StringContent.Name)[u'singular'],
|
||||
translate('AlertsPlugin.AlertForm', 'You haven\'t specified '
|
||||
'any text for your alert. Please type in some text before '
|
||||
'clicking New.'))
|
||||
|
@ -693,7 +693,7 @@ class BibleImportForm(OpenLPWizard):
|
||||
'BiblesPlugin.ImportWizardForm',
|
||||
'Starting Registering bible...'))
|
||||
else:
|
||||
self.progressLabel.setText(translate(WizardStrings.StartingImport)
|
||||
self.progressLabel.setText(WizardStrings.StartingImport)
|
||||
Receiver.send_message(u'openlp_process_events')
|
||||
|
||||
def performWizard(self):
|
||||
|
@ -29,7 +29,7 @@ import sqlite
|
||||
|
||||
from PyQt4 import QtCore
|
||||
|
||||
from openlp.core.lib import Receiver, translate
|
||||
from openlp.core.lib import Receiver
|
||||
from openlp.core.ui.wizard import WizardStrings
|
||||
from openlp.plugins.bibles.lib.db import BibleDB
|
||||
|
||||
|
@ -33,7 +33,6 @@ import os
|
||||
|
||||
from lxml import etree
|
||||
|
||||
from openlp.core.lib import translate
|
||||
from openlp.core.ui.wizard import WizardStrings
|
||||
from openlp.plugins.songs.lib.songimport import SongImport
|
||||
from openlp.plugins.songs.lib import OpenLyrics
|
||||
|
@ -33,7 +33,6 @@ import logging
|
||||
import os
|
||||
import re
|
||||
|
||||
from openlp.core.lib import translate
|
||||
from openlp.core.ui.wizard import WizardStrings
|
||||
from openlp.plugins.songs.lib.songimport import SongImport
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user