anki/qt/i18n/pull-git
Damien Elmes d1e587fca9 add ftl to the build process, and a sync-git script
also
- ensure po files are checked when updated
- add start of sync.ftl
2020-02-17 08:40:17 +10:00

17 lines
352 B
Bash
Executable File

#!/bin/bash
if [ ! -d po ]; then
git clone https://github.com/ankitects/anki-desktop-i18n po
fi
if [ ! -d ftl ]; then
git clone https://github.com/ankitects/anki-core-i18n ftl
fi
echo "Updating translations from git..."
(cd po && git pull)
(cd ftl && git pull)
# make sure gettext translations haven't broken something
python check-po-files.py