File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1515# ##########################################################################
1616
1717# Pull the translations from transifex and update TRANSLATORS
18- scripts/update_ts.sh pull $1
18+ scripts/update_ts.sh pull " $@ "
Original file line number Diff line number Diff line change 1515# ##########################################################################
1616
1717# Update the english translation and push it to transifex
18- scripts/update_ts.sh push $1
18+ scripts/update_ts.sh push " $@ "
Original file line number Diff line number Diff line change @@ -88,14 +88,16 @@ if [ -d "$2" ]; then
8888 done
8989 shift
9090 shift
91- for t in i18n/qgis_* .ts; do
92- for l in " $@ " ; do
93- if [ " i18n/qgis_$l .ts" = " $t " ]; then
94- continue 2
95- fi
91+ if [[ $# -gt 0 ]]; then
92+ for t in i18n/qgis_* .ts; do
93+ for l in " $@ " ; do
94+ if [ " i18n/qgis_$l .ts" = " $t " ]; then
95+ continue 2
96+ fi
97+ done
98+ files=" $files $t "
9699 done
97- files=" $files $t "
98- done
100+ fi
99101
100102elif [ " $action " != " pull" ]; then
101103 echo Build directory not found
You can’t perform that action at this time.
0 commit comments