diff --git a/include/wx/translation.h b/include/wx/translation.h index 8f465279c786..fcb17540ce92 100644 --- a/include/wx/translation.h +++ b/include/wx/translation.h @@ -60,12 +60,14 @@ using wxTranslationsHashMap = std::unordered_map; #ifndef wxNO_IMPLICIT_WXSTRING_ENCODING #define wxGETTEXT_IN_CONTEXT(c, s) \ wxGetTranslation((s), wxString(), c) +#define wxGETTEXT_IN_CONTEXT_PLURAL(c, sing, plur, n) \ + wxGetTranslation((sing), (plur), n, wxString(), c) #else #define wxGETTEXT_IN_CONTEXT(c, s) \ wxGetTranslation(wxASCII_STR(s), wxString(), wxASCII_STR(c)) -#endif #define wxGETTEXT_IN_CONTEXT_PLURAL(c, sing, plur, n) \ wxGetTranslation(wxASCII_STR(sing), wxASCII_STR(plur), n, wxString(), wxASCII_STR(c)) +#endif // another one which just marks the strings for extraction, but doesn't // perform the translation (use -kwxTRANSLATE with xgettext!)