mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
lrelease program should be in the path, so remove the full path to it git-svn-id: http://svn.osgeo.org/qgis/trunk@3342 c8812cc2-4d05-0410-92ff-de0c093fc19c
17 lines
625 B
Bash
Executable File
17 lines
625 B
Bash
Executable File
#!/bin/sh
|
|
# create_qm_files.sh,v 1.4 2004/07/14 18:16:00 gsherman Exp
|
|
# 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
|
|
# Note the .pro file must NOT be named qgis.pro as this
|
|
# name is reserved for the Windows qmake project file
|
|
# create_qm_files.sh,v 1.4 2004/07/14 18:16:00 gsherman Exp
|
|
echo Creating qmake project file
|
|
# force the output name to be qgis_qm.pro
|
|
/usr/bin/qmake -project -o qgis_qm.pro
|
|
echo Creating qm files
|
|
lrelease -verbose qgis_qm.pro
|
|
echo Removing qmake project file
|
|
rm qgis_qm.pro
|