[PATCH 3 of 3] i18n: check format strings when building xx.mo files
Martin Geisler
mg at daimi.au.dk
Sun Jan 25 13:29:12 CST 2009
# HG changeset patch
# User Martin Geisler <mg at daimi.au.dk>
# Date 1232911657 -3600
# Node ID 453761dc3d482f0c36aa2ef1f1dc02b768f00b64
# Parent 1a260be17b3e58ca5ffcd0a0d4bd44ded0a9b6dc
i18n: check format strings when building xx.mo files
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -141,7 +141,7 @@
mofile = join(modir, 'hg.mo')
self.mkpath(modir)
self.make_file([pofile], mofile, spawn,
- (['msgfmt', '-o', mofile, pofile],))
+ (['msgfmt', '-v', '-c', '-o', mofile, pofile],))
self.distribution.data_files.append((join('mercurial', modir),
[mofile]))
More information about the Mercurial-devel
mailing list