summaryrefslogtreecommitdiff
path: root/i18n/status_individual.sh
authorcniehaus <cniehaus>2003-05-18 11:52:30 (UTC)
committer cniehaus <cniehaus>2003-05-18 11:52:30 (UTC)
commit39860593d3de12f70a083cdb9b86adca7b98fdfb (patch) (side-by-side diff)
tree9e032589632bc0b5a5b65b3b05195e4cffc20a70 /i18n/status_individual.sh
parent982d7a64a7526379fc0f3b0ae64fdcce430775ff (diff)
downloadopie-39860593d3de12f70a083cdb9b86adca7b98fdfb.zip
opie-39860593d3de12f70a083cdb9b86adca7b98fdfb.tar.gz
opie-39860593d3de12f70a083cdb9b86adca7b98fdfb.tar.bz2
from now on you can also use status_individual.sh todo XX. This will only show you the files which are not completly translated
Diffstat (limited to 'i18n/status_individual.sh') (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
@@ -9,5 +9,14 @@ if [ "x${arg}x" = "xx" ]; then
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