2004-02-13 17:55:30 +00:00
|
|
|
#!/bin/sh
|
2004-07-10 06:45:34 +00:00
|
|
|
# create_qm_files.sh,v 1.3 2004/07/10 06:45:34 gsherman Exp
|
2004-02-13 17:55:30 +00:00
|
|
|
# Create the .qm files from the translation files
|
|
|
|
# 1. create a clean Qt .pro file for the project
|
|
|
|
# 2. run lrelease using the .pro file from step 1
|
|
|
|
# 3. remove the .pro
|
|
|
|
echo Creating qmake project file
|
2004-04-22 05:25:10 +00:00
|
|
|
# force the output name to be qgis_ts.pro
|
2004-07-10 06:45:34 +00:00
|
|
|
$QTDIR/bin/qmake -project -o qgis_ts.pro
|
2004-02-13 17:55:30 +00:00
|
|
|
echo Creating qm files
|
2004-07-10 06:45:34 +00:00
|
|
|
$QTDIR/bin/lrelease -verbose qgis_ts.pro
|
2004-02-13 17:55:30 +00:00
|
|
|
echo Removing qmake project file
|
2004-04-22 05:25:10 +00:00
|
|
|
rm qgis_ts.pro
|