Skip to content
Permalink
Browse files

ts scripts: pass languages from pull_ts.sh and push_ts.sh

  • Loading branch information
jef-n committed Aug 6, 2017
1 parent 80dd8f3 commit f34848ae3a2480ac7789bb965c261467529f6868
Showing with 11 additions and 9 deletions.
  1. +1 −1 scripts/pull_ts.sh
  2. +1 −1 scripts/push_ts.sh
  3. +9 −7 scripts/update_ts.sh
@@ -15,4 +15,4 @@
###########################################################################

# Pull the translations from transifex and update TRANSLATORS
scripts/update_ts.sh pull $1
scripts/update_ts.sh pull "$@"
@@ -15,4 +15,4 @@
###########################################################################

# Update the english translation and push it to transifex
scripts/update_ts.sh push $1
scripts/update_ts.sh push "$@"
@@ -88,14 +88,16 @@ if [ -d "$2" ]; then
done
shift
shift
for t in i18n/qgis_*.ts; do
for l in "$@"; do
if [ "i18n/qgis_$l.ts" = "$t" ]; then
continue 2
fi
if [[ $# -gt 0 ]]; then
for t in i18n/qgis_*.ts; do
for l in "$@"; do
if [ "i18n/qgis_$l.ts" = "$t" ]; then
continue 2
fi
done
files="$files $t"
done
files="$files $t"
done
fi

elif [ "$action" != "pull" ]; then
echo Build directory not found

0 comments on commit f34848a

Please sign in to comment.
You can’t perform that action at this time.