From 559ca18f3ea4c8074c31959be78154a6ba16edc5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 10 Oct 2024 00:02:59 +0200 Subject: Install fa_IR wxWidgets translations. --- src/wx/wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wx/wscript') 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') -- cgit v1.2.3