diff --git a/dev/translation/txpush.sh b/dev/translation/txpush.sh index 3c4aa8fd2a6..a591082d11b 100755 --- a/dev/translation/txpush.sh +++ b/dev/translation/txpush.sh @@ -4,13 +4,16 @@ # # Laurent Destailleur - eldy@users.sourceforge.net #------------------------------------------------------ -# Usage: txpush.sh [all|xx_XX] +# Usage: txpush.sh (source|all|xx_XX) [-r dolibarr.file] [-f] #------------------------------------------------------ # Syntax if [ "x$1" = "x" ] then - echo "Usage: txpush.sh (source|all|xx_XX) [-r dolibarr.file]" + echo "This push local files to transifex." + echo "Note: If you push a langauge file (not source), file will be skipped if transifex file is newer." + echo " Using -f will overwrite translation but not memory." + echo "Usage: txpush.sh (source|all|xx_XX) [-r dolibarr.file] [-f]" exit fi @@ -28,7 +31,7 @@ then echo "tx push -s $2 $3" tx push -s $2 $3 else - echo "tx push -t -l $1 $2 $3" - tx push -t -l $1 $2 $3 + echo "tx push -t -l $1 $2 $3 $4" + tx push -t -l $1 $2 $3 $4 fi fi