[qet] qet/qet: [4742] MacQetDeploy packaging script add only binary translation into package

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4742
Author:   scorpio810
Date:     2016-10-14 16:59:18 +0200 (Fri, 14 Oct 2016)
Log Message:
-----------
MacQetDeploy packaging script add only binary translation into package
need brew and coreutils installed

Modified Paths:
--------------
    trunk/misc/MacQetDeploy.sh

Modified: trunk/misc/MacQetDeploy.sh
===================================================================
--- trunk/misc/MacQetDeploy.sh	2016-10-14 00:23:00 UTC (rev 4741)
+++ trunk/misc/MacQetDeploy.sh	2016-10-14 14:59:18 UTC (rev 4742)
@@ -14,6 +14,7 @@
     
     # You should have received a copy of the GNU General Public License
     # along with QElectroTech.  If not, see <http://www.gnu.org/licenses/>.
+ # Need homebrew and coreutils installed see <http://brew.sh>.
 
 # configuration
 APPNAME='qelectrotech'
@@ -212,7 +213,7 @@
 
 
 # Add new folder for Qt dialog translation see
-## //download.tuxfamily.org/qet/Qt_lang/
+## see <https://download.tuxfamily.org/qet/Qt_lang/>.
 
 LANG_DIR="${current_dir}/lang1/"
 
@@ -230,14 +231,15 @@
 
 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
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/