Modified code so new Openlyrics song import description will appear for translate

This commit is contained in:
Stevan Pettit 2011-10-05 15:50:17 -04:00
parent dc41fa4318
commit 5dfa0c95ce
2 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class WizardStrings(object):
EW = u'EasyWorship' EW = u'EasyWorship'
ES = u'EasiSlides' ES = u'EasiSlides'
FP = u'Foilpresenter' FP = u'Foilpresenter'
OL = u'OpenLyrics or OpenLP 2.0 Exported Song' OL = u'OpenLyrics'
OS = u'OpenSong' OS = u'OpenSong'
OSIS = u'OSIS' OSIS = u'OSIS'
SB = u'SongBeamer' SB = u'SongBeamer'

View File

@ -241,7 +241,8 @@ class SongImportForm(OpenLPWizard):
self.formatComboBox.setItemText(SongFormat.OpenLP2, UiStrings().OLPV2) self.formatComboBox.setItemText(SongFormat.OpenLP2, UiStrings().OLPV2)
self.formatComboBox.setItemText(SongFormat.OpenLP1, UiStrings().OLPV1) self.formatComboBox.setItemText(SongFormat.OpenLP1, UiStrings().OLPV1)
self.formatComboBox.setItemText(SongFormat.OpenLyrics, self.formatComboBox.setItemText(SongFormat.OpenLyrics,
translate('SongsPlugin.ImportWizardForm', WizardStrings.OL)) translate('SongsPlugin.ImportWizardForm',
'OpenLyrics or OpenLP 2.0 Exported Song'))
self.formatComboBox.setItemText(SongFormat.OpenSong, WizardStrings.OS) self.formatComboBox.setItemText(SongFormat.OpenSong, WizardStrings.OS)
self.formatComboBox.setItemText( self.formatComboBox.setItemText(
SongFormat.WordsOfWorship, WizardStrings.WoW) SongFormat.WordsOfWorship, WizardStrings.WoW)