added wxPLURAL() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,10 +33,11 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// gettext() style macros (notice that xgettext should be invoked with
|
||||
// --keyword="_" --keyword="wxGetTranslation:1,2" options
|
||||
// --keyword="_" --keyword="wxPLURAL:1,2" options
|
||||
// to extract the strings from the sources)
|
||||
#ifndef WXINTL_NO_GETTEXT_MACRO
|
||||
#define _(s) wxGetTranslation(_T(s))
|
||||
#define _(s) wxGetTranslation(_T(s))
|
||||
#define wxPLURAL(sing, plur, n) wxGetTranslation(_T(sing), _T(plur), n)
|
||||
#endif
|
||||
|
||||
// another one which just marks the strings for extraction, but doesn't
|
||||
|
Reference in New Issue
Block a user