anki/qt/i18n/update-pot

17 lines
312 B
Plaintext
Raw Normal View History

2020-01-02 22:59:00 +01:00
#!/bin/bash
#
# update translation files
#
all=all.files
echo "Updating anki.pot..."
2020-01-02 23:24:59 +01:00
for i in ../../pylib/anki/{*.py,importing/*.py,template/*.py}; do
2020-01-02 22:59:00 +01:00
echo $i >> $all
done
2020-01-02 23:24:59 +01:00
for i in ../aqt/{*.py,forms/*.py}; do
2020-01-02 22:59:00 +01:00
echo $i >> $all
done
xgettext -cT: -s --no-wrap --files-from=$all --output=anki.pot
rm $all