Fix cc to renpy name

This commit is contained in:
HackerNCoder 2023-01-31 14:50:44 +01:00
parent f887e70f00
commit 6548cd5e4a

View file

@ -6,15 +6,14 @@ for file in ./translations-*.po; do
file2=${file%.po}
langcc=${file2#\.\/translations\-}
if [[ -z ${langnames[$langcc]} ]]; then
lang=${langnames[$langcc]}
else
lang=$langcc
else
lang=${langnames[$langcc]}
fi
stats=$(msgfmt --statistics $${file} 2>&1)
stats=$(msgfmt --statistics ${file} 2>&1)
numdone=$(echo ${stats%* translated*})
if [ $numdone -le 5680 ]
then
if [[ $numdone -le 5680 ]]; then
continue
fi