From 4386bc552290edddc47067ef27ac8f4383e5a2f4 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Fri, 14 Oct 2016 00:23:00 +0000 Subject: [PATCH] Improve MacQetDeploy packaging script : add Qt5.6.x translations for dialog in package git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4741 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- misc/MacQetDeploy.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/misc/MacQetDeploy.sh b/misc/MacQetDeploy.sh index eb5de1793..0746067ac 100644 --- a/misc/MacQetDeploy.sh +++ b/misc/MacQetDeploy.sh @@ -210,6 +210,12 @@ QET_ELMT_DIR="${current_dir}/elements/" QET_TBT_DIR="${current_dir}/titleblocks/" QET_LANG_DIR="${current_dir}/lang/" + +# Add new folder for Qt dialog translation see +## //download.tuxfamily.org/qet/Qt_lang/ + +LANG_DIR="${current_dir}/lang1/" + if [ -d "${QET_ELMT_DIR}" ]; then echo "Copying add elements in the bundle..." #mkdir $BUNDLE/Contents/Resources/elements @@ -228,6 +234,12 @@ if [ -d "${QET_LANG_DIR}" ]; then cp -R ${QET_LANG_DIR} $BUNDLE/Contents/Resources/lang fi +if [ -d "${LANG_DIR}" ]; then +echo "Copying translations in the bundle... " +#mkdir $BUNDLE/Contents/Resources/lang +cp -R ${LANG_DIR} $BUNDLE/Contents/Resources/lang +fi + ### create disk image ###############################################