diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-06 20:07:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-06 20:07:30 +0100 |
| commit | 26348e499951d2c22776cdb1409f09e628f58abe (patch) | |
| tree | d7e36a2bba50a8a7d9bd19b8d8e627abbfb4cf9d /i18n.py | |
| parent | 7fce670f1d117d7389d29812c082a03e975e9433 (diff) | |
Get msgfmt to check format strings and fix some errors it found.
Diffstat (limited to 'i18n.py')
| -rw-r--r-- | i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
