summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-11 20:05:12 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-11 20:05:12 +0000
commita4d482ec794a2585b07bf47b399934be1d41b7a5 (patch)
treebc1685d43cea0c83e228245321a7d31ad2bd6d6a
parent3667c77f9037a7e7efe241fee72626813af94973 (diff)
Try to put .mo files in the right place in the OS X .dmg.
-rw-r--r--platform/osx/make_dmg.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index 7e9390e2c..eb06d3bb5 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -104,6 +104,14 @@ done
cp build/platform/osx/Info.plist $WORK/$approot
cp icons/dcpomatic.icns $WORK/$resources/DCP-o-matic.icns
+# i18n: .mo files
+for l in de_DE es_ES fr_FR it_IT sv_SE; do
+ mkdir $WORK/$resources/$l
+ cp build/src/lib/mo/$1/*.mo $WORK/$resources/$l
+ cp build/src/wx/mo/$1/*.mo $WORK/$resources/$l
+ cp build/src/tools/mo/$1/*.mo $WORK/$resources/$l
+done
+
tmp_dmg=$WORK/dcpomatic_tmp.dmg
dmg="$WORK/DCP-o-matic $version.dmg"
vol_name=DCP-o-matic-$version