From 23ac2c31e70424ced2acce8dfd6fca15df8a839b Mon Sep 17 00:00:00 2001 From: John Dennis Date: Sat, 20 Feb 2010 09:04:38 -0500 Subject: Add new Russian translation, update Polish Add new Russian translation. Update the Polish translation. Add count of how many po translations we have in msg-stats. Current translation statistics with this patch: ipa.pot has 133 messages. There are 5 po translation files. bn_IN: 14/133 10.5% 106 po untranslated, 13 missing, 119 untranslated id: 107/133 80.5% 13 po untranslated, 13 missing, 26 untranslated kn: 4/133 3.0% 116 po untranslated, 13 missing, 129 untranslated pl: 133/133 100.0% 0 po untranslated, 0 missing, 0 untranslated ru: 120/133 90.2% 0 po untranslated, 13 missing, 13 untranslated --- install/po/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'install/po/Makefile.in') diff --git a/install/po/Makefile.in b/install/po/Makefile.in index 4ba95ca76..ac3ab649c 100644 --- a/install/po/Makefile.in +++ b/install/po/Makefile.in @@ -30,6 +30,7 @@ XGETTEXT_OPTIONS = \ languages = $(shell $(SED) 's/\#.*//' LINGUAS) # The sed command removes comments po_files = $(patsubst %, %.po, $(languages)) mo_files = $(patsubst %.po, %.mo, $(po_files)) +po_count=$(words $(po_files)) PYTHON_POTFILES = \ ../../ipa \ @@ -214,7 +215,7 @@ msg-stats: @pot_count=`$(MSGFMT) --statistics $(DOMAIN).pot 2>&1 | \ $(AWK) '{match($$0, /([0-9]+) translated messages, ([0-9]+) untranslated messages/, groups); \ printf "%s\n", groups[2];}'` ; \ - echo "$(DOMAIN).pot has $$pot_count messages" ; \ + echo "$(DOMAIN).pot has $$pot_count messages. There are $(po_count) po translation files." ; \ for po_file in $(po_files); do \ $(MSGCMP) $$po_file $(DOMAIN).pot 2>&1 | \ $(AWK) -v po_file=$$po_file -v pot_count=$$pot_count -v pot_file=$(DOMAIN).pot \ -- cgit