Am Sonntag, 24. April 2016 um 14:47:42, schrieb Georg Baum 
<georg.b...@post.rwth-aachen.de>
> Kornel Benko wrote:
> 
> > Am Sonntag, 24. April 2016 um 11:20:16, schrieb Georg Baum
> > <georg.b...@post.rwth-aachen.de>
> >> Kornel Benko wrote:
> >> 
> >> > Am Samstag, 23. April 2016 um 12:01:32, schrieb Kornel Benko
> >> >> Hm, there are more differences. In cmake we add also header files to
> >> >> the list. But I wonder, why unix command 'sort' is not working the
> >> >> same as cmake internal sort.
> >> > 
> >> > OK, setting env LC_ALL=C, sort behaves under linux as the internal sort
> >> > in cmake.
> >> 
> >> Not for me. Note that we do already set LC_ALL=C internally before
> >> calling sort. I also tried to set LANG and LANGUGAGE in addition, but
> >> that does not change the behaviour. I still get the same sorting for
> >> fr.po as in 79074e6c with autotools, and with cmake I get the sorting as
> >> in a32113e6d.
> >> 
> > 
> > Hm, the differences I get is not because of sort, but because under cmake
> > we check many more files.
> 
> Not in my case.
> 
> > Also some filenames in source/po/POTFILES.in are wrong (because not
> > existent) E.g.
> > src/frontends/qt4/GuiPrint.cpp
> > src/rowpainter.cpp
> > 
> > I don't know what else could be the culprit
> 
> Did you run autogen.sh after the last newly added or renamed file? It is 
> needed to generate POTFILES.in. Do you have any file in your source tree 
> that is not in git? That would unfortunately be picked up by autogen.sh as 
> well.

No, I compared with the file in repository.
Why do we have POTFILES.in in repo?

...

> 
> xgettext does not reformat existing comment lines on my machine. It only 
> adds comments for the files it did extract, and if the last existing comment 
> line is short enough, it fills it up, for all remaining files to be added it 
> creates new comment lines.

I saw it here.

> Therefore, I believe that xgettext cannot be made responsible for 
> differences in comment lines containing only .ui or .layout files.
> 
> > Using the width param for msgmerge helps a little, but not all differences
> > are gone, instead new differences are created. I am out of ideas.
> 
> I think that we did understand this particular difference now. fr.po in 2.3-
> staging was remerged by Uwe on windows, and there are formatting differences 
> between gettext and msguniq, maybe because we feed files with windows line 
> ends to gettext, maybe also for some other reason.
> 

Thanks, that explains it. I was misled by your last commit to (master!) fr.gmo.

> Georg

        Kornel

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

Reply via email to