aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: .po file conversion  (Read 3455 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
.po file conversion
« 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 ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 165
  • Offline Offline
  • Posts: 2675
Re: .po file conversion
« Reply #1 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'
Logged
concordia cum veritate

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4319
Re: .po file conversion
« Reply #2 on: December 29, 2008, 10:34:58 AM »

OK, I'll do a msgmerge before committing.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 165
  • Offline Offline
  • Posts: 2675
Re: .po file conversion
« Reply #3 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.
Logged
concordia cum veritate