Skip to content
Snippets Groups Projects
Commit ce45291c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Add tx scripts

parent c5737e21
Branches
Tags
No related merge requests found
#!/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
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment