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
This commit is contained in:
scorpio810 2016-10-14 00:23:00 +00:00
parent c50e8cd9ae
commit 4386bc5522

View File

@ -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 ###############################################