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