forked from openlp/openlp
Fix text
This commit is contained in:
parent
cd873b9196
commit
4c9bd6d34b
@ -69,7 +69,7 @@ class CustomPlugin(Plugin):
|
|||||||
def about(self):
|
def about(self):
|
||||||
about_text = self.trUtf8('<b>Custom Plugin</b><br>This plugin '
|
about_text = self.trUtf8('<b>Custom Plugin</b><br>This plugin '
|
||||||
'allows slides to be displayed on the screen in the same way '
|
'allows slides to be displayed on the screen in the same way '
|
||||||
'songs are. This plugin provides greater freedom over the '
|
'songs are. This plugin provides greater freedom over the '
|
||||||
'songs plugin.<br>')
|
'songs plugin.<br>')
|
||||||
return about_text
|
return about_text
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ class SongUsageDeleteForm(QtGui.QDialog, Ui_SongUsageDeleteDialog):
|
|||||||
|
|
||||||
def accept(self):
|
def accept(self):
|
||||||
ret = QtGui.QMessageBox.question(self,
|
ret = QtGui.QMessageBox.question(self,
|
||||||
self.trUtf8('Delete Selected Audit Events?'),
|
self.trUtf8('Delete Selected Song Usage Events?'),
|
||||||
self.trUtf8('Are you sure you want to delete selected Audit Data?'),
|
self.trUtf8('Are you sure you want to delete selected Song Usage data?'),
|
||||||
QtGui.QMessageBox.StandardButtons(
|
QtGui.QMessageBox.StandardButtons(
|
||||||
QtGui.QMessageBox.Ok |
|
QtGui.QMessageBox.Ok |
|
||||||
QtGui.QMessageBox.Cancel),
|
QtGui.QMessageBox.Cancel),
|
||||||
|
@ -81,7 +81,7 @@ class SongUsageDetailForm(QtGui.QDialog, Ui_SongUsageDetailDialog):
|
|||||||
instance.copyright, instance.ccl_number , instance.authors)
|
instance.copyright, instance.ccl_number , instance.authors)
|
||||||
file.write(record)
|
file.write(record)
|
||||||
except:
|
except:
|
||||||
log.exception(u'Failed to write out audit records')
|
log.exception(u'Failed to write out song usage records')
|
||||||
finally:
|
finally:
|
||||||
if file:
|
if file:
|
||||||
file.close()
|
file.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user