summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xi18n/status.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/i18n/status.sh b/i18n/status.sh
index 3bffe12..315f9dd 100755
--- a/i18n/status.sh
+++ b/i18n/status.sh
@@ -1,7 +1,8 @@
#/bin/sh
+arg=$1
echo "number of strings: "
-grep translation go.ts | wc -l
+grep translation $arg/*.ts | wc -l
echo "unfinished: "
-grep translation go.ts | grep type=\"unfinished\" | wc -l
+grep translation $arg/*.ts | grep type=\"unfinished\" | wc -l
echo "obsolete: "
-grep translation go.ts | grep type=\"obsolete\" | wc -l
+grep translation $arg/*.ts | grep type=\"obsolete\" | wc -l