split ftl and po syncing scripts

This commit is contained in:
Damien Elmes 2020-02-21 08:49:51 +10:00
parent 71e7568904
commit f28b32cf75
2 changed files with 8 additions and 4 deletions

4
qt/i18n/sync-git → qt/i18n/sync-ftl-git Executable file → Normal file
View File

@ -3,10 +3,6 @@
# pull any pending changes from git repos
./pull-git
# upload changes to .pot
./update-po-template
(cd po && git add desktop; git commit -m update; git push)
# upload changes to ftl templates
./update-ftl-templates
(cd ftl && git add core; git commit -m update; git push)

8
qt/i18n/sync-po-git Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
# pull any pending changes from git repos
./pull-git
# upload changes to .pot
./update-po-template
(cd po && git add desktop; git commit -m update; git push)