← Back to team overview

kicad-developers team mailing list archive

Re: Announcing work on providing windows nightlies

 

2015-03-13 16:29 GMT+01:00 Marco Ciampa <ciampix@xxxxxxxxx>:
> On Fri, Mar 13, 2015 at 01:06:16PM +0100, Nick Østergaard wrote:
> [...]
>> Also, I wonder why the compiled po files are in the repo also (the .mo
>> files). Is there a reason for this? Why not just do this as a build
>> step?
>
> Looking at the i18n procedure it rely on poedit reading the headers of
> the .po file just to update and collect the strings from sources.
>
> Since this is done by means of a manual procedure started by humans and
> not updated automatically, it is necessary to save with the sources even
> the .mo files that are binary compiled from .po files that are the real
> source files.
>
> I already said that IMNSHO I consider this done badly if not totally
> wrong.

Marco, I don't quite understand your point here. The po files are the
sources, the mo files are the binaries. For any source it should only
be nessesary to keep the sources (po files) versioned, whilst the
binaries should be compiled. I don't see what you think is done
manually.

What I really ask is; is there a use for the mo files to be precompiled?


References