QGIS/update_ts_files.sh
gsherman 384e7209d3 1. First pass at defining PostgreSQL layers using a where clause in the data
provider. UI may need some work. When adding a PG layer, double- click on the
layer name to define the where clause. Do not include the where keyword
2. Added $QTDIR/bin to the path for lrelease and lupdate in the i18n
scripts


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1740 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-10 06:45:34 +00:00

12 lines
359 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
echo Creating qmake project file
$QTDIR/bin/qmake -project
echo Updating translation files
$QTDIR/bin/lupdate -verbose qgis.pro
echo Removing qmake project file
rm qgis.pro