mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-16 15:09:58 +01:00
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:
@@ -210,6 +210,12 @@ QET_ELMT_DIR="${current_dir}/elements/"
|
|||||||
QET_TBT_DIR="${current_dir}/titleblocks/"
|
QET_TBT_DIR="${current_dir}/titleblocks/"
|
||||||
QET_LANG_DIR="${current_dir}/lang/"
|
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
|
if [ -d "${QET_ELMT_DIR}" ]; then
|
||||||
echo "Copying add elements in the bundle..."
|
echo "Copying add elements in the bundle..."
|
||||||
#mkdir $BUNDLE/Contents/Resources/elements
|
#mkdir $BUNDLE/Contents/Resources/elements
|
||||||
@@ -228,6 +234,12 @@ if [ -d "${QET_LANG_DIR}" ]; then
|
|||||||
cp -R ${QET_LANG_DIR} $BUNDLE/Contents/Resources/lang
|
cp -R ${QET_LANG_DIR} $BUNDLE/Contents/Resources/lang
|
||||||
fi
|
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 ###############################################
|
### create disk image ###############################################
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user