anki/qt/i18n/update-pot

21 lines
340 B
Plaintext
Raw Normal View History

2020-01-02 22:59:00 +01:00
#!/bin/bash
#
# update translation files
#
2020-01-04 23:35:46 +01:00
topDir=$(dirname $0)/../..
cd $topDir
2020-01-02 22:59:00 +01:00
all=all.files
echo "Updating anki.pot..."
2020-01-17 02:14:54 +01:00
for i in pylib/anki/{*.py,importing/*.py}; do
2020-01-02 22:59:00 +01:00
echo $i >> $all
done
2020-01-04 23:35:46 +01:00
for i in qt/aqt/{*.py,forms/*.py}; do
2020-01-02 22:59:00 +01:00
echo $i >> $all
done
2020-01-04 23:35:46 +01:00
xgettext -cT: -s --no-wrap --files-from=$all --output=qt/i18n/anki.pot
2020-01-02 22:59:00 +01:00
rm $all