AW: [Qgis-developer] update_ts_files.sh

Hugentobler Marco marco.hugentobler at karto.baug.ethz.ch
Mon May 18 04:59:34 EDT 2009


Hi Borys

Right, it makes sense to only consider strings from src and python directory.

Btw, when compiling current trunk, I get the following error message. Is this a related problem?

Regards,
Marco


cd /home/marco/src/qgis/build/i18n && /usr/bin/lrelease -verbose /home/marco/src/qgis/i18n/qgis_pl_PL.ts -qm /home/marco/src/qgis/build/i18n/qgis_pl_PL.qm
lrelease error: duplicate messages found in '/home/marco/src/qgis/i18n/qgis_pl_PL.ts':

* Context: QgsLabelDialogBase
* Source: °

* Context: QgsCopyrightLabelPluginGuiBase
* Source: <html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Verdana'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">© QGIS 2009</p></body></html>
make[2]: *** [i18n/qgis_pl_PL.qm] Fehler 1





-----Ursprüngliche Nachricht-----
Von: qgis-developer-bounces at lists.osgeo.org im Auftrag von Borys Jurgiel
Gesendet: Sa 16.05.2009 11:47
An: qgis-developer at lists.osgeo.org
Cc: Werner Macho
Betreff: [Qgis-developer] update_ts_files.sh
 
Hi,
I've realized the update_ts_files.sh script collects strings coming from all the 
project directories, in particular from the build directory. There are often a 
lot of obsolete files there, so updating the .ts files without clearing the 
build directory makes a mess in translations. Would it be enough if the script 
collected only files from the 'src' and 'python' directiories? I mean to replace 
the line 26: 

qmake -project -o qgis_ts.pro

with:

qmake -project -o qgis_ts.pro -nopwd src python i18n

For me it seems to work ok, but I'm asking because don't want to miss something 
important...
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list