This commit is contained in:
Jonathan Corwin 2010-04-04 09:26:53 +01:00
parent b602dcafe0
commit 728c524ff5
2 changed files with 3 additions and 3 deletions

View File

@ -276,8 +276,8 @@ class SongMediaItem(MediaManagerItem):
if len(items) == 1:
del_message = self.trUtf8('Delete song?')
else:
del_message = self.trUtf8('Delete %d song?' % len(items))
ans = QtGui.QMessageBox.question(None,
del_message = unicode(self.trUtf8('Delete %d song?')) % len(items)
ans = QtGui.QMessageBox.question(self,
self.trUtf8('Delete Confirmation'), del_message,
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.Ok|
QtGui.QMessageBox.Cancel),

View File

@ -1,4 +1,4 @@
property# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
###############################################################################