summaryrefslogtreecommitdiff
path: root/i18n.py
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-06 20:07:30 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-06 20:07:30 +0100
commit26348e499951d2c22776cdb1409f09e628f58abe (patch)
treed7e36a2bba50a8a7d9bd19b8d8e627abbfb4cf9d /i18n.py
parent7fce670f1d117d7389d29812c082a03e975e9433 (diff)
Get msgfmt to check format strings and fix some errors it found.
Diffstat (limited to 'i18n.py')
-rw-r--r--i18n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18n.py b/i18n.py
index fa91783b6..dc0a6ca7c 100644
--- a/i18n.py
+++ b/i18n.py
@@ -32,5 +32,5 @@ def po_to_mo(dir, name, bld):
po = os.path.join('po', '%s.po' % lang)
mo = os.path.join('mo', lang, '%s.mo' % name)
- bld(rule = 'msgfmt -f ${SRC} -o ${TGT}', source = bld.path.make_node(po), target = bld.path.get_bld().make_node(mo))
+ bld(rule = 'msgfmt -c -f ${SRC} -o ${TGT}', source = bld.path.make_node(po), target = bld.path.get_bld().make_node(mo))
bld.install_files(os.path.join('${PREFIX}', 'share', 'locale', lang, 'LC_MESSAGES'), mo)