From b5282c682fa40be2093c2454b0f0a3afd9e8b87f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 6 Feb 2021 15:12:26 +0100 Subject: [PATCH] Recognize wxGETTEXT_IN_CONTEXT macros in wx sources Tell xgettext to extract the strings appearing inside wxGETTEXT_IN_CONTEXT and wxGETTEXT_IN_CONTEXT_PLURAL too. --- locale/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locale/Makefile b/locale/Makefile index 1645da416a..70302eacf4 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 -kwxGetTranslation --add-comments=TRANSLATORS: -j +XGETTEXT_ARGS=-C -k_ -kwxPLURAL:1,2 -kwxGETTEXT_IN_CONTEXT:1c,2 -kwxGETTEXT_IN_CONTEXT_PLURAL:1c,2,3 -kwxTRANSLATE -kwxGetTranslation --add-comments=TRANSLATORS: -j # implicit rules %.mo: %.po