Always update en_* locales on get_po_files

This commit is contained in:
Philipp Wolfer
2019-10-07 16:04:35 +02:00
parent 6534a50f61
commit 3a12744c4e

View File

@@ -428,14 +428,22 @@ class picard_get_po_files(Command):
def run(self):
if tx_executable is None:
sys.exit('Transifex client executable (tx) not found.')
txpull_cmd = [
self.spawn([
tx_executable,
'pull',
'--force',
'--all',
'--minimum-perc=%d' % self.minimum_perc
]
self.spawn(txpull_cmd)
])
self.spawn([
tx_executable,
'pull',
'--force',
'--resource',
'musicbrainz.picard',
'--language',
'en_AU,en_GB,en_CA'
])
_regen_pot_description = "Regenerate po/picard.pot, parsing source tree for new or updated strings"