QGIS/scripts/update_ts_files.sh
timlinux 1317551a44 Moved utility scripts into scripts dir for neatness sake
Added svn ignore for build dir and *.diff


git-svn-id: http://svn.osgeo.org/qgis/trunk@7091 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-25 20:55:02 +00:00

16 lines
551 B
Bash
Executable File

#!/bin/sh
# Update the translation files with strings used in QGIS
# 1. create a clean Qt .pro file for the project
# 2. run lupdate using the .pro file from step 1
# 3. remove the .pro
# Note the .pro file must NOT be named qgis.pro as this
# name is reserved for the Windows qmake project file
# update_ts_files.sh,v 1.3 2004/07/14 18:16:24 gsherman Exp
echo Creating qmake project file
$QTDIR/bin/qmake -project -o qgis_ts.pro
echo Updating translation files
$QTDIR/bin/lupdate -verbose qgis_ts.pro
echo Removing qmake project file
rm qgis_ts.pro