From: Mattia Barbon Date: Tue, 3 Sep 2002 19:32:03 +0000 (+0000) Subject: gettext (correctly) uses "1 message" (singular). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/93ff73b3082878271a51879f0739438a8a13f79f 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 --- 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`; \