0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00
Anki-Android/tools/translation-rates.sh
2011-02-08 20:56:39 +01:00

14 lines
367 B
Bash

#!/bin/sh
#
# Shows the completion rate of the translation for each language.
#
wget -O tmp-translations-page.html http://crowdin.net/project/ankidroidv0-6
cat tmp-translations-page.html |
grep "Completed on" |
grep -v "Completed on 0%" |
sed -e "s/.*<br\/>//" |
sed -e "s/<span>Completed on //" |
sed -e "s/<\/span>//" |
sort
rm -f tmp-translations-page.html