[Qgis-developer] obsolete/duplicate translation strings

Douglas E. Warner silfreed at silfreed.net
Wed Feb 25 10:24:51 EST 2009


Tim Sutton wrote:
> On Wednesday 18 February 2009 20:51:43 Douglas E. Warner wrote:
>> Trying to build qgis 1.0.1 on Fedora 11 which has qt4.5 I'm getting the
>> following error:
>>
>> lrelease error: duplicate messages found in
>> '/builddir/build/BUILD/qgis_1.0.1/i18n/qgis_mn.ts'
>>
>> when the following build command is issued:
>> Generating qgis_tr.qm
>> cd /builddir/build/BUILD/qgis_1.0.1/i18n && /usr/lib64/qt4/bin/lrelease
>> -verbose /builddir/build/BUILD/qgis_1.0.1/i18n/qgis_tr.ts -qm
>> /builddir/build/BUILD/qgis_1.0.1/i18n/qgis_tr.qm
>>
>> Running this allows me to finish the build:
>>
>> lupdate-qt4 -no-obsolete -ts i18n/*.ts
>>
>> Maybe these files should be pruned before generating the tarball?
>>
> 
> The tarball is generated by doing an svn export. Did you have similar problems 
> with the last build for 1.0.0 ? 
> 

Should I file this as a bug?  I don't know if this could be integrated into
any i18n build scripts so that others don't get hit by this problem with qt
4.5 ships for their distros.

It looks like this deletes old duplicate translations, but I'm not very well
versed in i18n things.

-Doug


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090225/c667d294/signature.bin


More information about the Qgis-developer mailing list