summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xi18n/status_individual.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/i18n/status_individual.sh b/i18n/status_individual.sh
index 781b794..349767d 100755
--- a/i18n/status_individual.sh
+++ b/i18n/status_individual.sh
@@ -6,8 +6,17 @@ arg=$1
if [ "x${arg}x" = "xx" ]; then
echo "Usage: ./status_indiviual XX"
echo " with XX as a languagecode"
exit
fi
+if [ "${arg}" = "todo" ]; then
+ if [ "x$2"x = "xx" ]; then
+ echo "missing second argument"
+ exit
+ fi
+ for i in $2/*.ts; do echo $i - `grep translation "$i" | grep type=\"unfinished\" | wc -l` | grep -v ' 0' ; done
+ exit
+fi
+
for i in $1/*.ts; do echo $i - `grep translation "$i" | grep type=\"unfinished\" | wc -l` ; done