X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c19b738e74e01e7301aec7815b5bac9782b3c9db..97ee90eec5faa0f361c47e39ee14299d07bbb50b:/locale/Makefile diff --git a/locale/Makefile b/locale/Makefile index bd9212aae6..28b84eb078 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -20,7 +20,7 @@ XGETTEXT_ARGS=-C -k_ -kwxGetTranslation -kwxTRANSLATE -s -j # implicit rules %.mo: %.po - $(MSGFMT) -o $@ $< + $(MSGFMT) -c -o $@ $< # a PO file must be updated from wxstd.po to include new translations %.po: wxstd.po @@ -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`; \