diff --git a/dev/translation/txpull.sh b/dev/translation/txpull.sh new file mode 100644 index 0000000000000000000000000000000000000000..107fb0490d399904384032d9dd8867a60a9b6e66 --- /dev/null +++ b/dev/translation/txpull.sh @@ -0,0 +1,29 @@ +#!/bin/sh +#------------------------------------------------------ +# Script to pull language files to Transifex +# +# Laurent Destailleur - eldy@users.sourceforge.net +#------------------------------------------------------ +# Usage: txpull.sh [all|xx_XX] +#------------------------------------------------------ + +# Syntax +if [ "x$1" = "x" ] +then + echo "Usage: txpull.sh [all|xx_XX]" + exit +fi + + +if [ "x$1" = "xall" ] +then + for fic in ar_SA bg_BG ca_ES da_DK de_DE el_GR es_ES et_EE fa_IR fi_FI fr_FR hu_HU is_IS it_IT ja_JP nb_NO nl_NL pl_PL pt_PT ro_RO ru_RU ru_UA sl_SI sv_SE tr_TR zh_CN zh_TW + do + echo "tx pull -l $fic" + tx pull -l $fic + done +else + echo "tx pull -l $1" + tx pull -l $1 +fi + diff --git a/dev/translation/txpush.sh b/dev/translation/txpush.sh new file mode 100644 index 0000000000000000000000000000000000000000..5c5cf2825dac1f9d78e95a38123e4ad010d00be8 --- /dev/null +++ b/dev/translation/txpush.sh @@ -0,0 +1,29 @@ +#!/bin/sh +#------------------------------------------------------ +# Script to push language files to Transifex +# +# Laurent Destailleur - eldy@users.sourceforge.net +#------------------------------------------------------ +# Usage: txpush.sh [all|xx_XX] +#------------------------------------------------------ + +# Syntax +if [ "x$1" = "x" ] +then + echo "Usage: txpush.sh [all|xx_XX]" + exit +fi + + +if [ "x$1" = "xall" ] +then + for fic in ar_SA bg_BG ca_ES da_DK de_DE el_GR es_ES et_EE fa_IR fi_FI fr_FR hu_HU is_IS it_IT ja_JP nb_NO nl_NL pl_PL pt_PT ro_RO ru_RU ru_UA sl_SI sv_SE tr_TR zh_CN zh_TW + do + echo "tx push -t -l $fic" + tx push -t -l $fic + done +else + echo "tx push -t -l $1" + tx push -t -l $1 +fi +