summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-28 16:27:50 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-28 16:27:50 +0000
commitf9b4461bd1ca77a2b22ede5cb8d90d8e7b83a1e4 (patch)
tree6e9b1dd332ebedab3c90fa97775072c9ccd7cb4b
parent6f3c03c4c64a50c755d21e0ced97d52f20310ea0 (diff)
Include fuzzy translations in .mo files.
-rw-r--r--i18n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18n.py b/i18n.py
index ce28d25e9..807aedda6 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 ${SRC} -o ${TGT}', source = bld.path.make_node(po), target = bld.path.get_bld().make_node(mo))
+ bld(rule = 'msgfmt -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)