Author: switt
Date: Mon Sep 5 20:24:54 2011
New Revision: 39592
URL: http://www.lyx.org/trac/changeset/39592
Log:
include Qt translations for our private bundle
Modified:
lyx-devel/trunk/development/LyX-Mac-binary-release.sh
Modified: lyx-devel/trunk/development/LyX-Mac-binary-release.sh
==============================================================================
--- lyx-devel/trunk/development/LyX-Mac-binary-release.sh Mon Sep 5
20:06:58 2011 (r39591)
+++ lyx-devel/trunk/development/LyX-Mac-binary-release.sh Mon Sep 5
20:24:54 2011 (r39592)
@@ -543,6 +543,7 @@
test -f "${condir}/Resources/qt.conf" || cat - >
"${condir}/Resources/qt.conf" <<-EOF
[Paths]
Plugins = PlugIns
+Translations = translations
EOF
if [ ! -d "${condir}/PlugIns" ]; then
mkdir -p "${condir}/PlugIns"
@@ -588,6 +589,11 @@
"@executable_path/../${fwdir}/${version}${libnm}"\
"${target}"
done
+ if [ ! -d "${condir}/translations" ]; then
+ mkdir -p "${condir}/translations"
+ fi
+ echo Copy Qt translations to "${condir}/translations"
+ cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
}
# -------------------------