aMule Forum

English => Translations (i18n) => Topic started by: Stu Redman on December 28, 2008, 10:58:38 PM

Title: .po file conversion
Post by: Stu Redman on December 28, 2008, 10:58:38 PM
Forgive my ignorance - but I wonder, whenever a new po file is commited, there are lots of formatting changes in it. All of which are reverted on the next automatic po update...
Wouldn't it make sense to run the update script on the po file before commiting, so you could see the real changes rather and not so clog up the repository ?
Title: Re: .po file conversion
Post by: GonoszTopi on December 29, 2008, 12:54:25 AM
Wouldn't it make sense to run the update script on the po file before commiting, so you could see the real changes rather and not so clog up the repository ?

Yes, it would. And it would only take as much as running 'make <lang>.po-update'
Title: Re: .po file conversion
Post by: wuischke on December 29, 2008, 10:34:58 AM
OK, I'll do a msgmerge before committing.
Title: Re: .po file conversion
Post by: GonoszTopi on December 29, 2008, 10:48:20 PM
OK, I'll do a msgmerge before committing.

Please note, that msgmerge --update does not change the file if there are no string changes (so it leaves formatting intact), that's why I suggested make <lang>.po-update

You can of course run msgmerge without --update, then the above does not apply.

And thanks.