1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 13:02:50 +00:00

Copy all the Qt translations, not just some of them

This commit is contained in:
Raoul Snyman 2017-03-27 17:05:46 -07:00
parent 507c43d547
commit 7aed09ad84

View File

@ -409,7 +409,7 @@ class Builder(object):
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))