mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-14 20:33:05 +02:00
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
This commit is contained in:
parent
4386bc5522
commit
3bf30dcd26
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
# Need homebrew and coreutils installed see <http://brew.sh>.
|
||||||
|
|
||||||
# configuration
|
# configuration
|
||||||
APPNAME='qelectrotech'
|
APPNAME='qelectrotech'
|
||||||
@ -212,7 +213,7 @@ QET_LANG_DIR="${current_dir}/lang/"
|
|||||||
|
|
||||||
|
|
||||||
# Add new folder for Qt dialog translation see
|
# 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/"
|
LANG_DIR="${current_dir}/lang1/"
|
||||||
|
|
||||||
@ -230,14 +231,15 @@ fi
|
|||||||
|
|
||||||
if [ -d "${QET_LANG_DIR}" ]; then
|
if [ -d "${QET_LANG_DIR}" ]; then
|
||||||
echo "Copying translations in the bundle... "
|
echo "Copying translations in the bundle... "
|
||||||
#mkdir $BUNDLE/Contents/Resources/lang
|
mkdir $BUNDLE/Contents/Resources/lang
|
||||||
cp -R ${QET_LANG_DIR} $BUNDLE/Contents/Resources/lang
|
gcp -R ${current_dir}/lang/*.qm $BUNDLE/Contents/Resources/lang
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "${LANG_DIR}" ]; then
|
if [ -d "${LANG_DIR}" ]; then
|
||||||
echo "Copying translations in the bundle... "
|
echo "Copying translations in the bundle... "
|
||||||
#mkdir $BUNDLE/Contents/Resources/lang
|
#mkdir $BUNDLE/Contents/Resources/lang
|
||||||
cp -R ${LANG_DIR} $BUNDLE/Contents/Resources/lang
|
gcp -R ${current_dir}/lang1/*.qm $BUNDLE/Contents/Resources/lang
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user