make file context relative to root
This commit is contained in:
parent
1c77ff57ef
commit
eee21d347f
@ -3,14 +3,18 @@
|
||||
# update translation files
|
||||
#
|
||||
|
||||
|
||||
topDir=$(dirname $0)/../..
|
||||
cd $topDir
|
||||
|
||||
all=all.files
|
||||
echo "Updating anki.pot..."
|
||||
for i in ../../pylib/anki/{*.py,importing/*.py,template/*.py}; do
|
||||
for i in pylib/anki/{*.py,importing/*.py,template/*.py}; do
|
||||
echo $i >> $all
|
||||
done
|
||||
for i in ../aqt/{*.py,forms/*.py}; do
|
||||
for i in qt/aqt/{*.py,forms/*.py}; do
|
||||
echo $i >> $all
|
||||
done
|
||||
|
||||
xgettext -cT: -s --no-wrap --files-from=$all --output=anki.pot
|
||||
xgettext -cT: -s --no-wrap --files-from=$all --output=qt/i18n/anki.pot
|
||||
rm $all
|
||||
|
Loading…
Reference in New Issue
Block a user