From 8e25f3850e74aad61b62f9932655980cc28363ec Mon Sep 17 00:00:00 2001 From: M2j Date: Sun, 20 Jun 2010 01:58:42 +0200 Subject: [PATCH] corrected one string --- openlp/plugins/songs/forms/editsongform.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index 797c98d65..9bfed4a86 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -555,10 +555,13 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog): if item not in verses: self.SongTabWidget.setCurrentIndex(0) self.VerseOrderEdit.setFocus() + valid = verses.pop(0) + for verse in verses: + valid = valid + u', ' + verse return u'failed', unicode(translate( 'SongsPlugin.EditSongForm', 'The verse order is ' - 'invalid. There is no verse corresponding to %s.')) % \ - order_names[count] + 'invalid. There is no verse corresponding to %s. ' + 'Valid entries are %s.')) % (order_names[count], valid) for count, verse in enumerate(verses): if verse not in order: self.SongTabWidget.setCurrentIndex(0)