summaryrefslogtreecommitdiffstats
path: root/install/po/Makefile.in
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2010-02-20 09:04:38 -0500
committerRob Crittenden <rcritten@redhat.com>2010-02-22 16:33:08 -0500
commit23ac2c31e70424ced2acce8dfd6fca15df8a839b (patch)
tree7425638576441783bdc8f3489838cfd2b95e0720 /install/po/Makefile.in
parent47f2e618f9b5944b2c857351df71da635a3dc50a (diff)
downloadfreeipa-23ac2c31e70424ced2acce8dfd6fca15df8a839b.tar.gz
freeipa-23ac2c31e70424ced2acce8dfd6fca15df8a839b.tar.xz
freeipa-23ac2c31e70424ced2acce8dfd6fca15df8a839b.zip
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
Diffstat (limited to 'install/po/Makefile.in')
-rw-r--r--install/po/Makefile.in3
1 files changed, 2 insertions, 1 deletions
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 \