forked from openlp/openlp
fixes
This commit is contained in:
parent
b602dcafe0
commit
728c524ff5
@ -276,8 +276,8 @@ class SongMediaItem(MediaManagerItem):
|
|||||||
if len(items) == 1:
|
if len(items) == 1:
|
||||||
del_message = self.trUtf8('Delete song?')
|
del_message = self.trUtf8('Delete song?')
|
||||||
else:
|
else:
|
||||||
del_message = self.trUtf8('Delete %d song?' % len(items))
|
del_message = unicode(self.trUtf8('Delete %d song?')) % len(items)
|
||||||
ans = QtGui.QMessageBox.question(None,
|
ans = QtGui.QMessageBox.question(self,
|
||||||
self.trUtf8('Delete Confirmation'), del_message,
|
self.trUtf8('Delete Confirmation'), del_message,
|
||||||
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok|
|
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok|
|
||||||
QtGui.QMessageBox.Cancel),
|
QtGui.QMessageBox.Cancel),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
property# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
|
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user