summaryrefslogtreecommitdiff
path: root/src/wx/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-10-10 00:02:59 +0200
committerCarl Hetherington <cth@carlh.net>2024-10-14 23:10:52 +0200
commit559ca18f3ea4c8074c31959be78154a6ba16edc5 (patch)
tree3ab48aa52bf7c9c177bc6b6ed1db121d3e10306f /src/wx/wscript
parent24014f90efd0638306b354e37459d77cf5a07129 (diff)
Install fa_IR wxWidgets translations.
Diffstat (limited to 'src/wx/wscript')
-rw-r--r--src/wx/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/wscript b/src/wx/wscript
index 13b0df292..9015c2de4 100644
--- a/src/wx/wscript
+++ b/src/wx/wscript
@@ -344,6 +344,9 @@ def build(bld):
obj.target = 'dcpomatic2-wx'
i18n.po_to_mo(os.path.join('src', 'wx'), 'libdcpomatic2-wx', bld)
+ # Extra wxWidgets .mo file (not installed by wxWidgets apparently) that contains some
+ # of our own translations
+ bld(rule='msgfmt -c ${SRC} -o ${TGT}', source=bld.path.make_node(os.path.join('..', '..', 'wx-po', 'fa_IR.po')), target=bld.path.get_bld().make_node(os.path.join('mo', 'fa_IR', 'wxstd.mo')))
def pot(bld):
i18n.pot(os.path.join('src', 'wx'), sources + " editable_list.h content_widget.h", 'libdcpomatic-wx')