Skip to content

Commit 6de1b12

Browse files
author
mhugent
committedDec 7, 2007
Modified update_ts_tiles script such that lupdate does not merge the qgis strings to the qt_xx.ts files
git-svn-id: http://svn.osgeo.org/qgis/trunk@7737 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent f52f840 commit 6de1b12

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎scripts/update_ts_files.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@
77
# name is reserved for the Windows qmake project file
88
# update_ts_files.sh,v 1.3 2004/07/14 18:16:24 gsherman Exp
99

10+
#first tar the qt_xx.ts files in i18n folder such that lupdate does not
11+
#merge the qgis strings to them
12+
echo Creating qt_ts.tar
13+
tar -cvf i18n/qt_ts.tar i18n/qt_*.ts
14+
rm i18n/qt_*.ts
1015
echo Creating qmake project file
1116
$QTDIR/bin/qmake -project -o qgis_ts.pro
1217
echo Updating translation files
1318
$QTDIR/bin/lupdate -verbose qgis_ts.pro
1419
echo Removing qmake project file
1520
rm qgis_ts.pro
21+
echo Unpacking qt_ts.tar
22+
tar -xvf i18n/qt_ts.tar

0 commit comments

Comments
 (0)
Please sign in to comment.