Skip to content

Commit 5ccb1e7

Browse files
committed
i18n: script updates
1 parent 571d47a commit 5ccb1e7

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

scripts/pull_ts.sh

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# pull_ts.sh
44
# ---------------------
55
# Date : November 2014
6-
# Copyright : (C) 2014 by Tim Sutton
6+
# Copyright : (C) 2014 by Juergen E. Fischer
77
# Email : jef at norbit dot de
88
###########################################################################
99
# #
@@ -53,28 +53,11 @@ cleanup() {
5353

5454
PATH=$QTDIR/bin:$PATH
5555

56-
if type qmake-qt4 >/dev/null 2>&1; then
57-
QMAKE=qmake-qt4
58-
else
59-
QMAKE=qmake
60-
fi
61-
62-
if ! type pylupdate4 >/dev/null 2>&1; then
63-
echo "pylupdate4 not found"
64-
exit 1
65-
fi
66-
6756
if ! type tx >/dev/null 2>&1; then
6857
echo "tx not found"
6958
exit 1
7059
fi
7160

72-
if type lupdate-qt4 >/dev/null 2>&1; then
73-
LUPDATE=lupdate-qt4
74-
else
75-
LUPDATE=lupdate
76-
fi
77-
7861
trap cleanup EXIT
7962

8063
tar --remove-files -cf i18n/python_ts.tar $(find python -name "*.ts")

scripts/push_ts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ $QMAKE -project -o qgis_ts.pro -nopwd src python i18n
112112
echo Updating translations
113113
$LUPDATE -locations none -verbose qgis_ts.pro
114114

115-
echo tx push -s
115+
tx push -s

0 commit comments

Comments
 (0)