[Pkg-samba-maint] r1174 - in trunk: . po
Christian Perrier
bubulle at debian.org
Wed Oct 11 05:23:36 UTC 2006
> <snip many other similar examples>
>
> And this is a *lot* of gratuitous reformatting in the diff. Christian, what
> can we do to ensure translation formatting is normalized before committing,
> so that we're spared unreadable diffs? I thought that debconf-updatepo
> would take care of this, but it doesn't seem to do so for the present case
> (though it does affect the previously-committed Hungarian translation).
debconf-updatepo does "msgcat" which reformats files.
I usually run a small script of mine which tests the validity of the
PO files but does not pass them through msgcat (becacuse it would
involve a temporary file) so I actually commit files as they're
submitted.
Unfortunately, the final format depends on the tool used to edit
files. KBabel passes the file through msgcat while POEdit doesn't and
even reformats all strings to a very long single line.
So, if translators change their tool, we have the effect you saw.
What we could do is certainly run "debconf-updatepo" before
builds. Running msgcat would be good also, but this can only be a
manual action by the person committing....
Running debcof-updatepo at each commit would not be good as this would
change ALL PO files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20061011/3e57fcc6/attachment.pgp
More information about the Pkg-samba-maint
mailing list