[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to avoid line breaks during msgmerge calls?



On Tue, May 13, 2008 at 11:09:56AM +0200, Nicolas François wrote:
> On Tue, May 13, 2008 at 10:22:37AM +0200, Jens Seidel wrote:
> > I noticed already very often that after each msgmerge call (often
> > started by make -C po update-po for GNU programs) line breaks in PO
> > files change. I don't talk about wrapping a 200 character width string
> > into lines with 78 characters but about changing 77 into 78 or other
> > minor wraps.
> 
> I'm also experiencing this, but did not investigate.
> (I preferred to rerun msgcat in those cases).

How does you start msgcat? Just via
 msgcat --width=78 fr.po > fr.po.new ?
How to guess the previous width (by testing 77,78,79,...?)

> In my cases, it appeared with some po4a PO files.
> Was it also in your case?

No po4a, ordinary PO files created by xgettext (program translations).

> The wrapping of reference line also changes sometimes.

Yep.

> I will try to get a better look next time.
> 
> My guess is that there are different wrapping mechanisms implemented in
> different tools.
> I also wondered if the terminal size does not influence the wrapping.

OK, so let's analyze it. It good to know that I'm not the only person
affected by this. It's just not nice. I cannot always call msgmerge
because the created diff is just too large. One or two lines changed
would be tollerable.

Jens


Reply to: