-rwxr-xr-x | i18n/status_individual.sh | 9 |
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 | |||
@@ -1,13 +1,22 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # Main | 3 | # Main |
4 | # | 4 | # |
5 | arg=$1 | 5 | arg=$1 |
6 | if [ "x${arg}x" = "xx" ]; then | 6 | if [ "x${arg}x" = "xx" ]; then |
7 | echo "Usage: ./status_indiviual XX" | 7 | echo "Usage: ./status_indiviual XX" |
8 | echo " with XX as a languagecode" | 8 | echo " with XX as a languagecode" |
9 | exit | 9 | exit |
10 | fi | 10 | fi |
11 | 11 | ||
12 | if [ "${arg}" = "todo" ]; then | ||
13 | if [ "x$2"x = "xx" ]; then | ||
14 | echo "missing second argument" | ||
15 | exit | ||
16 | fi | ||
17 | for i in $2/*.ts; do echo $i - `grep translation "$i" | grep type=\"unfinished\" | wc -l` | grep -v ' 0' ; done | ||
18 | exit | ||
19 | fi | ||
20 | |||
12 | for i in $1/*.ts; do echo $i - `grep translation "$i" | grep type=\"unfinished\" | wc -l` ; done | 21 | for i in $1/*.ts; do echo $i - `grep translation "$i" | grep type=\"unfinished\" | wc -l` ; done |
13 | 22 | ||