i18n: check format strings when building xx.mo files
authorMartin Geisler <mg@daimi.au.dk>
Sun, 25 Jan 2009 20:27:37 +0100
changeset 7712 9f9bbd33f71e
parent 7711 a0de99db7cdc
child 7713 b8c4ba0fd7c4
child 7718 6fa7b6fb90a9
i18n: check format strings when building xx.mo files
setup.py
--- a/setup.py	Sun Jan 25 20:16:35 2009 +0100
+++ b/setup.py	Sun Jan 25 20:27:37 2009 +0100
@@ -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]))