X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e2003703c02850cca0e962688b070314c95175c..ff701a5de90478a656e7e8b6236d239d8cccd6b3:/locale/Makefile diff --git a/locale/Makefile b/locale/Makefile index ce999e2e73..f0612bec47 100644 --- a/locale/Makefile +++ b/locale/Makefile @@ -17,7 +17,7 @@ XGETTEXT=xgettext XARGS=xargs # common xgettext args: C++ syntax, use the specified macro names as markers -XGETTEXT_ARGS=-C -k_ -kwxPLURAL:1,2 -kwxTRANSLATE -s -j +XGETTEXT_ARGS=-C -k_ -kwxPLURAL:1,2 -kwxTRANSLATE -kwxGetTranslation -s -j # implicit rules %.mo: %.po @@ -44,6 +44,11 @@ allmo: force-update: $(RM) wxstd.pot +check: + @for t in $(WX_LINGUAS); do \ + $(MSGFMT) -c -o /dev/null $$t.po 2>/dev/null || echo "$$t.po is BROKEN."; \ + done + # print out the percentage of the translated strings stats: FORCE @for i in $(WX_LINGUAS); do \ @@ -61,4 +66,3 @@ FORCE: .PHONY: allpo allmo force-update percentage FORCE -# $Id$