Fixes and cleanups

This commit is contained in:
Jon Tibble 2011-02-13 01:24:47 +00:00
parent 323ab52848
commit 321269b11b
5 changed files with 3 additions and 5 deletions

View File

@ -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.'))

View File

@ -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):

View File

@ -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

View File

@ -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

View File

@ -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