From 3a12744c4e50654aeb7dbf4e77f51c37e162c87b Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Mon, 7 Oct 2019 16:04:35 +0200 Subject: [PATCH] Always update en_* locales on get_po_files --- setup.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index be44af48f..40742f21d 100644 --- a/setup.py +++ b/setup.py @@ -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"