Am Donnerstag, 7. April 2016 um 13:26:05, schrieb Pavel Sanda <sa...@lyx.org>
> Richard Heck wrote:
> > Using autotools, this is done via the msguniq program. I cannot tell how
> > it is done with cmake,

It is the same with cmake.
 po/lyx_pot.py -> *_l10n.pot
 po/cat.py:  *_l10n.pot -> lyx.cat_tmp.pot
 po/dos2unix .py: lyx.cat_tmp.pot -> lyx.cat.pot
 msguniq:  lyx.cat.pot -> lyx.fmt.pot

After msguniq, there may be dos2unix .py call missing. OTOH, if we could treat 
po-files as text-files
git could do it for us.

> > but I suspect that this is where the error
> > occurs, and that this is why you get "\r" in the middle of some lines,
> > namely, we get:

Probably.

> Then we are back at the old problem we were never able to figure out,
> namely why gettext on win and linux behave differently when it comes
> to line breaks. There were several threads about this, the most recent
> one AFAIR: 
> 
> http://thread.gmane.org/gmane.editors.lyx.devel/125776/focus=125759
> 
> We first thought is poedit fault, but after reporting one bug to its 
> developers
> and having it fixed, Uwe still got different .po files and we concluded 
> there's
> another gettext/msguniq issue and never followed on this one.
> 
> Pavel

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to