VirtoolsTranslation/Scripts/create_new_tr.sh

17 lines
400 B
Bash
Raw Normal View History

if [ $# -ne 1 ]
then
echo "[ERR] invalid arguments"
echo "Syntax"
echo ""
echo "./create_new_tr.sh <lang-symbol>"
echo "<lang-symbol>: your preferred language symbol. such as en, de, zh-cn..."
fi
cd NlpTr
cp VT25.template.json "VT25."$1".json"
cp VT35.template.json "VT35."$1".json"
cp VT40.template.json "VT40."$1".json"
cp VT50.template.json "VT50."$1".json"
cd ..
echo "DONE"