projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3c03c
)
Include fuzzy translations in .mo files.
author
Carl Hetherington
<cth@carlh.net>
Thu, 28 Mar 2013 16:27:50 +0000
(16:27 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 28 Mar 2013 16:27:50 +0000
(16:27 +0000)
i18n.py
patch
|
blob
|
history
diff --git
a/i18n.py
b/i18n.py
index ce28d25e99d1e6d359132a8fcba6ebeabbf1a78a..807aedda6b6d92444df48dabe63498a2cef1e4d4 100644
(file)
--- 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)