From 22bac55d328dc976077380a5ad7adfa931998356 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 3 Jul 2015 16:23:56 +0200 Subject: [PATCH] Push partial lang --- dev/translation/txpush.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev/translation/txpush.sh b/dev/translation/txpush.sh index 0a14330a7d5..75b21ede212 100755 --- a/dev/translation/txpush.sh +++ b/dev/translation/txpush.sh @@ -28,6 +28,10 @@ then echo "tx push -s $2 $3" tx push -s $2 $3 else - echo "tx push --skip -t -l $1 $2 $3 $4" - tx push --skip -t -l $1 $2 $3 $4 + for file in `find htdocs/langs/$1/*.lang -type f` + do + export basefile=`basename $file | sed -s s/\.lang//g` + echo "tx push --skip -r dolibarr.$basfile -t -l $1 $2 $3 $4" + tx push --skip -r dolibarr.$basefile -t -l $1 $2 $3 $4 + done fi