From 3bfa515c1284085a69237eead037738dc63238a1 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Sat, 5 Jun 2010 21:12:13 +0100 Subject: [PATCH] Verse Translations part 2 - fixed --- openlp/plugins/songs/forms/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openlp/plugins/songs/forms/__init__.py b/openlp/plugins/songs/forms/__init__.py index 824465348..41d91582b 100644 --- a/openlp/plugins/songs/forms/__init__.py +++ b/openlp/plugins/songs/forms/__init__.py @@ -37,11 +37,11 @@ class VerseType(object): @staticmethod def to_string(verse_type): if verse_type == VerseType.Verse: - return translate('SongTags', 'Verse') + return translate('VerseType', 'Verse') elif verse_type == VerseType.Chorus: - return translate('SongTags', 'Chorus') + return translate('VerseType', 'Chorus') elif verse_type == VerseType.Bridge: - return translate('SongTags', 'Bridge') + return translate('VerseType', 'Bridge') elif verse_type == VerseType.PreChorus: return u'Pre-Chorus' elif verse_type == VerseType.Intro: @@ -54,11 +54,11 @@ class VerseType(object): @staticmethod def from_string(verse_type): verse_type = verse_type.lower() - if verse_type == translate('SongTags', 'verse'): + if verse_type == translate('VerseType', 'verse'): return VerseType.Verse - elif verse_type == translate('SongTags', 'chorus'): + elif verse_type == translate('VerseType', 'chorus'): return VerseType.Chorus - elif verse_type == translate('SongTags', 'bridge'): + elif verse_type == translate('VerseType', 'bridge'): return VerseType.Bridge elif verse_type == u'pre-chorus': return VerseType.PreChorus