mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
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
This commit is contained in:
parent
f52f84096b
commit
6de1b12654
@ -7,9 +7,16 @@
|
|||||||
# name is reserved for the Windows qmake project file
|
# name is reserved for the Windows qmake project file
|
||||||
# update_ts_files.sh,v 1.3 2004/07/14 18:16:24 gsherman Exp
|
# update_ts_files.sh,v 1.3 2004/07/14 18:16:24 gsherman Exp
|
||||||
|
|
||||||
|
#first tar the qt_xx.ts files in i18n folder such that lupdate does not
|
||||||
|
#merge the qgis strings to them
|
||||||
|
echo Creating qt_ts.tar
|
||||||
|
tar -cvf i18n/qt_ts.tar i18n/qt_*.ts
|
||||||
|
rm i18n/qt_*.ts
|
||||||
echo Creating qmake project file
|
echo Creating qmake project file
|
||||||
$QTDIR/bin/qmake -project -o qgis_ts.pro
|
$QTDIR/bin/qmake -project -o qgis_ts.pro
|
||||||
echo Updating translation files
|
echo Updating translation files
|
||||||
$QTDIR/bin/lupdate -verbose qgis_ts.pro
|
$QTDIR/bin/lupdate -verbose qgis_ts.pro
|
||||||
echo Removing qmake project file
|
echo Removing qmake project file
|
||||||
rm qgis_ts.pro
|
rm qgis_ts.pro
|
||||||
|
echo Unpacking qt_ts.tar
|
||||||
|
tar -xvf i18n/qt_ts.tar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user