~raoul-snyman/openlp/fix-retvalue

« back to all changes in this revision

Viewing changes to openlp/core/ui/generaltab.py

  • Committer: Raoul Snyman
  • Author(s): alisonken1 at gmail
  • Date: 2016-05-20 20:52:22 UTC
  • mfrom: (2665.1.2 strings-core-ui)
  • Revision ID: raoul@snyman.info-20160520205222-s3s2cts9wnaq8ri8
"- Convert strings in openlp/core/ui files
- Updated projectordb test

--------------------------------
lp:~alisonken1/openlp/strings-core-ui (revision 2667)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1566/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1477/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1415/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Windows_Functional_Tests/1195/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Windows_Interface_Tests/78..."

Show diffs side-by-side

added added

removed removed

Lines of Context:
400
400
        """
401
401
        Select the logo file
402
402
        """
403
 
        file_filters = '%s;;%s (*.*)' % (get_images_filter(), UiStrings().AllFiles)
 
403
        file_filters = '{text};;{names} (*.*)'.format(text=get_images_filter(), names=UiStrings().AllFiles)
404
404
        filename, filter_used = QtWidgets.QFileDialog.getOpenFileName(self,
405
405
                                                                      translate('OpenLP.AdvancedTab', 'Open File'), '',
406
406
                                                                      file_filters)