1
0

cirrus ci: push_locale: make sure gettext is installed

This commit is contained in:
SomberNight
2021-09-14 20:10:32 +02:00
parent 8ef2052a62
commit 70d901b544
2 changed files with 3 additions and 3 deletions

View File

@@ -25,9 +25,9 @@ print("Found {} files to translate".format(len(files.splitlines())))
# Generate fresh translation template
if not os.path.exists('electrum/locale'):
os.mkdir('electrum/locale')
cmd = 'xgettext -s --from-code UTF-8 --language Python --no-wrap -f app.fil --output=electrum/locale/messages.pot'
print('Generate template')
os.system(cmd)
cmd = 'xgettext -s --from-code UTF-8 --language Python --no-wrap -f app.fil --output=electrum/locale/messages.pot'
subprocess.check_output(cmd, shell=True)
os.chdir('electrum')