From 3bf30dcd26795b84c062e6f15f629e82820dbc17 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Fri, 14 Oct 2016 14:59:18 +0000 Subject: [PATCH] MacQetDeploy packaging script add only binary translation into package need brew and coreutils installed git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4742 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- misc/MacQetDeploy.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/misc/MacQetDeploy.sh b/misc/MacQetDeploy.sh index 0746067ac..5eb4136bf 100644 --- a/misc/MacQetDeploy.sh +++ b/misc/MacQetDeploy.sh @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with QElectroTech. If not, see . + # Need homebrew and coreutils installed see . # configuration APPNAME='qelectrotech' @@ -212,7 +213,7 @@ QET_LANG_DIR="${current_dir}/lang/" # Add new folder for Qt dialog translation see -## //download.tuxfamily.org/qet/Qt_lang/ +## see . LANG_DIR="${current_dir}/lang1/" @@ -230,14 +231,15 @@ fi if [ -d "${QET_LANG_DIR}" ]; then echo "Copying translations in the bundle... " - #mkdir $BUNDLE/Contents/Resources/lang - cp -R ${QET_LANG_DIR} $BUNDLE/Contents/Resources/lang + mkdir $BUNDLE/Contents/Resources/lang + gcp -R ${current_dir}/lang/*.qm $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 +gcp -R ${current_dir}/lang1/*.qm $BUNDLE/Contents/Resources/lang + fi