Text fixes by superfly.

This commit is contained in:
Mattias Põldaru 2011-03-31 10:31:08 +03:00
parent f73577d708
commit beffd0c25c

View File

@ -592,16 +592,16 @@ class ServiceManager(QtGui.QWidget):
if os.path.getsize(fileName) == 0: if os.path.getsize(fileName) == 0:
log.exception(u'Service file is zero sized: %s' % fileName) log.exception(u'Service file is zero sized: %s' % fileName)
QtGui.QMessageBox.information(self, QtGui.QMessageBox.information(self,
translate('OpenLP.ServiceManager', 'File Is Empty'), translate('OpenLP.ServiceManager', 'Empty File'),
translate('OpenLP.ServiceManager', 'This service file is ' translate('OpenLP.ServiceManager', 'This service file '
'zero size and does not contain any data.')) 'does not contain any data.'))
else: else:
log.exception(u'Service file is cannot be extracted as zip: ' log.exception(u'Service file is cannot be extracted as zip: '
u'%s' % fileName) u'%s' % fileName)
QtGui.QMessageBox.information(self, QtGui.QMessageBox.information(self,
translate('OpenLP.ServiceManager', 'File Is Corrupt'), translate('OpenLP.ServiceManager', 'Corrupt File'),
translate('OpenLP.ServiceManager', 'This service file is ' translate('OpenLP.ServiceManager', 'This file is either'
'either corrupt or is not an OpenLP 2 service file.')) 'corrupt or not an OpenLP 2.0 service file.'))
return return
finally: finally:
if fileTo: if fileTo: