← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~raoul-snyman/openlp/fix-tr-packaging into lp:openlp/packaging

 

Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/fix-tr-packaging into lp:openlp/packaging.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #1676163 in OpenLP: "Missing Qt 5 translations (OLP 2.3 >)"
  https://bugs.launchpad.net/openlp/+bug/1676163

For more details, see:
https://code.launchpad.net/~raoul-snyman/openlp/fix-tr-packaging/+merge/321127

Fix bug #1676163 by copying in all the Qt translation files (they were broken out into different files in Qt5)
-- 
Your team OpenLP Core is requested to review the proposed merge of lp:~raoul-snyman/openlp/fix-tr-packaging into lp:openlp/packaging.
=== modified file 'builders/builder.py'
--- builders/builder.py	2016-12-15 15:20:00 +0000
+++ builders/builder.py	2017-03-28 00:09:54 +0000
@@ -409,7 +409,7 @@
         self._print('Copying Qt translation files...')
         source = self.get_qt_translations_path()
         for filename in os.listdir(source):
-            if filename.startswith('qt_') and filename.endswith('.qm'):
+            if filename.startswith('qt') and filename.endswith('.qm'):
                 self._print_verbose('... %s', filename)
                 copy(os.path.join(source, filename), os.path.join(self.dist_path, 'i18n', filename))
 


Follow ups