]> git.lyx.org Git - features.git/commitdiff
include Qt translations for our private bundle
authorStephan Witt <switt@lyx.org>
Mon, 5 Sep 2011 18:24:54 +0000 (18:24 +0000)
committerStephan Witt <switt@lyx.org>
Mon, 5 Sep 2011 18:24:54 +0000 (18:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39592 a592a061-630c-0410-9148-cb99ea01b6c8

development/LyX-Mac-binary-release.sh

index 3ac7050e626b0631a7649569c898ace506758458..a36ee73058262bc4f0051842ff13d722ef6cff44 100644 (file)
@@ -543,6 +543,7 @@ deploy_qtlibs() {
        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 @@ EOF
                        "@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"
 }
 
 # -------------------------