[qet] qet/qet: [4741] Improve MacQetDeploy packaging script : add Qt5.6.x translations for dialog in package |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4741
Author: scorpio810
Date: 2016-10-14 02:23:00 +0200 (Fri, 14 Oct 2016)
Log Message:
-----------
Improve MacQetDeploy packaging script : add Qt5.6.x translations for dialog in package
Modified Paths:
--------------
trunk/misc/MacQetDeploy.sh
Modified: trunk/misc/MacQetDeploy.sh
===================================================================
--- trunk/misc/MacQetDeploy.sh 2016-10-13 18:00:31 UTC (rev 4740)
+++ trunk/misc/MacQetDeploy.sh 2016-10-14 00:23:00 UTC (rev 4741)
@@ -210,6 +210,12 @@
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,7 +234,13 @@
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 ###############################################
echo