Need only wxWidgets 3.1.1 for translation context strings
This commit is contained in:
parent
2eb538f385
commit
7c246ddc26
|
@ -363,7 +363,7 @@ wxString TranslatableString::DoChooseFormat(
|
|||
? ( nn == 1 ? singular : plural )
|
||||
: wxGetTranslation(
|
||||
singular, plural, nn
|
||||
#if wxCHECK_VERSION(3, 1, 3)
|
||||
#if HAS_I18N_CONTEXTS
|
||||
, wxString{} // domain
|
||||
, context
|
||||
#endif
|
||||
|
|
|
@ -151,4 +151,9 @@ TranslatableStrings Msgids(
|
|||
const EnumValueSymbol strings[], size_t nStrings);
|
||||
TranslatableStrings Msgids( const std::vector<EnumValueSymbol> &strings );
|
||||
|
||||
// Whether disambiguationg contexts are supported
|
||||
// If not, then the program builds and runs, but strings in the catalog with
|
||||
// contexts will fail to translate
|
||||
#define HAS_I18N_CONTEXTS wxCHECK_VERSION(3, 1, 1)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user