On Tue, 2009-03-03 at 13:08 -0500, Owen Taylor wrote:

> > I just wonder about a pre-commit hook which I think checks the po files
> > validity (msgfmt check). IMHO It should also be rather easy to rewrite
> > for git. 
> 
> Looks easy to rewrite, yes.

Any advise and insight into the code in that hook.

        # The Persian (fa) team is using localized numeric formats
        # in their .po files, but gettext on cvs.gnome.org isn't
        # new enough to handle them.
#       DASH_C=""
#       BASENAME=`basename 
#       if [ "$BASENAME" != "fa.po" ]; then
#               DASH_C="-c"
#       fi

(we used to pass in -c for everything but fa.po, and now we pass it 
in for nothing)

Would be appreciated.

mgfmt on git.gnome.org (RHEL 5) is version 0.14.6

- Owen


_______________________________________________
gnome-infrastructure mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-infrastructure

Reply via email to