echo -n "$$l: "; \
msgfmt --statistics -o /dev/null po4a/$$l.po; \
done
-
+
+page-stat:
+ @LC_ALL=C po4a $(PO4AFLAGS) --force -v -k 0 --variable langs='$(LANGS)' \
+ --previous --srcdir $(WORK_DIR) --destdir $(WORK_DIR) $(PO4ACFG) | \
+ grep translated | \
+ sed -e 's/(\([1-9][0-9]*\) strings)/(\1 of \1 strings)/' \
+ -e 's/[()]//g' \
+ -e 's/^release\/man[1-9]\///' | \
+ awk '{printf("%-15s: %7s (%3s/%3s)\n",$$1,$$3,$$5,$$7);}'
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
--"POT-Creation-Date: 2012-04-02 23:24+0900\n"
- "PO-Revision-Date: 2012-04-05 05:22+0900\n"
-"PO-Revision-Date: 2012-04-09 07:30+0900\n"
++"POT-Creation-Date: 2012-04-02 23:26+0900\n"
++"PO-Revision-Date: 2012-04-09 07:59+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"