From 93ff73b3082878271a51879f0739438a8a13f79f Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Tue, 3 Sep 2002 19:32:03 +0000 Subject: [PATCH] gettext (correctly) uses "1 message" (singular). Take that into account in make stats. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- locale/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locale/Makefile b/locale/Makefile index bd9212aae6..4f62faa323 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -46,9 +46,9 @@ force-update: stats: FORCE @for i in $(WX_LINGUAS); do \ x=`$(MSGFMT) -o /dev/null "$$i.po" 2>&1 | sed -e 's/[,\.]//g' \ - -e 's/\([0-9]\+\) translated messages/TR=\1/' \ - -e 's/\([0-9]\+\) fuzzy translations/FZ=\1/' \ - -e 's/\([0-9]\+\) untranslated messages/UT=\1/'`; \ + -e 's/\([0-9]\+\) translated messages\?/TR=\1/' \ + -e 's/\([0-9]\+\) fuzzy translations\?/FZ=\1/' \ + -e 's/\([0-9]\+\) untranslated messages\?/UT=\1/'`; \ TR=0 FZ=0 UT=0; \ eval $$x; \ TOTAL=`expr $$TR + $$FZ + $$UT`; \ -- 2.50.0