← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~smpettit/openlp/bug-832345 into lp:openlp

 

Stevan Pettit has proposed merging lp:~smpettit/openlp/bug-832345 into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #832345 in OpenLP: "Make it more obvious what the importer should be used to import exported songs (openlyrics)"
  https://bugs.launchpad.net/openlp/+bug/832345

For more details, see:
https://code.launchpad.net/~smpettit/openlp/bug-832345/+merge/77761

Bug #832345

Modified the description of the OpenLyrics import item to include a reference to OpernLP 2.0 song export.

Added code to select .xml files when OpenLyrics is selected as song import type.
-- 
https://code.launchpad.net/~smpettit/openlp/bug-832345/+merge/77761
Your team OpenLP Core is requested to review the proposed merge of lp:~smpettit/openlp/bug-832345 into lp:openlp.
=== modified file 'openlp/core/ui/wizard.py'
--- openlp/core/ui/wizard.py	2011-06-20 21:57:34 +0000
+++ openlp/core/ui/wizard.py	2011-09-30 22:05:27 +0000
@@ -49,7 +49,7 @@
     EW = u'EasyWorship'
     ES = u'EasiSlides'
     FP = u'Foilpresenter'
-    OL = u'OpenLyrics'
+    OL = u'OpenLyrics or OpenLP 2.0 Exported Song'
     OS = u'OpenSong'
     OSIS = u'OSIS'
     SB = u'SongBeamer'

=== modified file 'openlp/plugins/songs/forms/songimportform.py'
--- openlp/plugins/songs/forms/songimportform.py	2011-09-12 16:35:32 +0000
+++ openlp/plugins/songs/forms/songimportform.py	2011-09-30 22:05:27 +0000
@@ -508,7 +508,8 @@
         Get OpenLyrics song database files
         """
         self.getFiles(WizardStrings.OpenTypeFile % WizardStrings.OL,
-            self.openLyricsFileListWidget)
+            self.openLyricsFileListWidget, u'%s (*.xml)' %
+            translate('SongsPlugin.ImportWizardForm', 'OpenLyrics Files'))
 
     def onOpenLyricsRemoveButtonClicked(self):
         """


Follow ups