From fe3d0b4123c5db0575a54580fc0c80222fceca14 Mon Sep 17 00:00:00 2001 From: jef Date: Wed, 19 Aug 2009 21:04:03 +0000 Subject: [PATCH] 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 --- scripts/update_ts_files.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update_ts_files.sh b/scripts/update_ts_files.sh index d4770d8d7e2e..346b8da6e5f8 100755 --- a/scripts/update_ts_files.sh +++ b/scripts/update_ts_files.sh @@ -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