mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-24 00:18:07 +02:00
Fix redefinition warning in Internat.h
This commit is contained in:
parent
26cf8a41c1
commit
877f07834f
@ -31,6 +31,10 @@ extern const wxString& GetCustomSubstitution(const wxString& str1 );
|
|||||||
// Marks strings for extraction only...must use wxGetTranslation() to translate.
|
// Marks strings for extraction only...must use wxGetTranslation() to translate.
|
||||||
#define XO(s) wxT(s)
|
#define XO(s) wxT(s)
|
||||||
|
|
||||||
|
#ifdef _
|
||||||
|
#undef _
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined( __WXDEBUG__ )
|
#if defined( __WXDEBUG__ )
|
||||||
// Force a crash if you misuse _ in a static initializer, so that translation
|
// Force a crash if you misuse _ in a static initializer, so that translation
|
||||||
// is looked up too early and not found.
|
// is looked up too early and not found.
|
||||||
@ -53,6 +57,11 @@ extern const wxString& GetCustomSubstitution(const wxString& str1 );
|
|||||||
#define _(s) GetCustomTranslation((s))
|
#define _(s) GetCustomTranslation((s))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef wxPLURAL
|
||||||
|
#undef wxPLURAL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// The two string arugments will go to the .pot file, as
|
// The two string arugments will go to the .pot file, as
|
||||||
// msgid sing
|
// msgid sing
|
||||||
// msgid_plural plural
|
// msgid_plural plural
|
||||||
|
Loading…
x
Reference in New Issue
Block a user