mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
make update_ts_files.sh a bit more robust
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11446 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
050f7763f9
commit
fe3d0b4123
@ -23,8 +23,8 @@ if [ -n "$exclude" ]; then
|
||||
tar --remove-files -cvf i18n/qgis_ts.tar i18n/qgis_*.ts$exclude
|
||||
fi
|
||||
echo Updating python plugin translations
|
||||
for i in python/plugins/*/.; do
|
||||
cd $i
|
||||
for i in python/plugins/*/CMakeLists.txt; do
|
||||
cd ${i%/*}
|
||||
pylupdate4 $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts
|
||||
perl ../../../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
|
||||
rm python-i18n.ts
|
||||
|
Loading…
x
Reference in New Issue
Block a user