Fix cc to renpy name
This commit is contained in:
parent
f887e70f00
commit
6548cd5e4a
|
@ -6,15 +6,14 @@ for file in ./translations-*.po; do
|
||||||
file2=${file%.po}
|
file2=${file%.po}
|
||||||
langcc=${file2#\.\/translations\-}
|
langcc=${file2#\.\/translations\-}
|
||||||
if [[ -z ${langnames[$langcc]} ]]; then
|
if [[ -z ${langnames[$langcc]} ]]; then
|
||||||
lang=${langnames[$langcc]}
|
|
||||||
else
|
|
||||||
lang=$langcc
|
lang=$langcc
|
||||||
|
else
|
||||||
|
lang=${langnames[$langcc]}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stats=$(msgfmt --statistics $${file} 2>&1)
|
stats=$(msgfmt --statistics ${file} 2>&1)
|
||||||
numdone=$(echo ${stats%* translated*})
|
numdone=$(echo ${stats%* translated*})
|
||||||
if [ $numdone -le 5680 ]
|
if [[ $numdone -le 5680 ]]; then
|
||||||
then
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue