forked from openlp/openlp
corrected one string
This commit is contained in:
parent
87c21201e7
commit
8e25f3850e
@ -555,10 +555,13 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
|||||||
if item not in verses:
|
if item not in verses:
|
||||||
self.SongTabWidget.setCurrentIndex(0)
|
self.SongTabWidget.setCurrentIndex(0)
|
||||||
self.VerseOrderEdit.setFocus()
|
self.VerseOrderEdit.setFocus()
|
||||||
|
valid = verses.pop(0)
|
||||||
|
for verse in verses:
|
||||||
|
valid = valid + u', ' + verse
|
||||||
return u'failed', unicode(translate(
|
return u'failed', unicode(translate(
|
||||||
'SongsPlugin.EditSongForm', 'The verse order is '
|
'SongsPlugin.EditSongForm', 'The verse order is '
|
||||||
'invalid. There is no verse corresponding to %s.')) % \
|
'invalid. There is no verse corresponding to %s. '
|
||||||
order_names[count]
|
'Valid entries are %s.')) % (order_names[count], valid)
|
||||||
for count, verse in enumerate(verses):
|
for count, verse in enumerate(verses):
|
||||||
if verse not in order:
|
if verse not in order:
|
||||||
self.SongTabWidget.setCurrentIndex(0)
|
self.SongTabWidget.setCurrentIndex(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user