mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-03 17:39:25 +02:00
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 )
|
? ( nn == 1 ? singular : plural )
|
||||||
: wxGetTranslation(
|
: wxGetTranslation(
|
||||||
singular, plural, nn
|
singular, plural, nn
|
||||||
#if wxCHECK_VERSION(3, 1, 3)
|
#if HAS_I18N_CONTEXTS
|
||||||
, wxString{} // domain
|
, wxString{} // domain
|
||||||
, context
|
, context
|
||||||
#endif
|
#endif
|
||||||
|
@ -151,4 +151,9 @@ TranslatableStrings Msgids(
|
|||||||
const EnumValueSymbol strings[], size_t nStrings);
|
const EnumValueSymbol strings[], size_t nStrings);
|
||||||
TranslatableStrings Msgids( const std::vector<EnumValueSymbol> &strings );
|
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
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user