summaryrefslogtreecommitdiff
path: root/platform
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 /platform
parent24014f90efd0638306b354e37459d77cf5a07129 (diff)
Install fa_IR wxWidgets translations.
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/make_dmg.sh3
-rw-r--r--platform/windows/wscript1
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index da7c38812..c2dcad8c8 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -290,6 +290,9 @@ function copy_resources {
mkdir "$dest/$lang"
cp $ENV/$ARCH1/share/locale/$lang/LC_MESSAGES/wxstd*.mo "$dest/$lang"
done
+
+ mkdir "$dest/fa"
+ cp $source/build/src/wx/mo/fa_IR/wxstd.mo "$dest/fa/wxstd-3.2.mo"
}
# param $1 list of things that link to other things
diff --git a/platform/windows/wscript b/platform/windows/wscript
index fb235ecba..2e76e519c 100644
--- a/platform/windows/wscript
+++ b/platform/windows/wscript
@@ -344,6 +344,7 @@ SetOutPath "$INSTDIR\\locale\\fa_IR\\LC_MESSAGES"
File "%binaries%/src/lib/mo/fa_IR/libdcpomatic2.mo"
File "%binaries%/src/wx/mo/fa_IR/libdcpomatic2-wx.mo"
File "%binaries%/src/tools/mo/fa_IR/dcpomatic2.mo"
+File /oname=wxstd-3.1.mo "%binaries%/src/wx/mo/fa_IR/wxstd.mo"
SetOutPath "$INSTDIR"
File "%resources%/../../fonts/LiberationSans-Regular.ttf"