Skip to content

Define wxPLURAL regardless of WXINTL_NO_GETTEXT_MACRO#2

Open
lanurmi wants to merge 1 commit intomasterfrom
wxplural-always
Open

Define wxPLURAL regardless of WXINTL_NO_GETTEXT_MACRO#2
lanurmi wants to merge 1 commit intomasterfrom
wxplural-always

Conversation

@lanurmi
Copy link
Owner

@lanurmi lanurmi commented Nov 7, 2024

The purpose of WXINTL_NO_GETTEXT_MACRO is, as I understand it, to avoid name clashes between _() and symbols with the same name introduced by other libraries or compilers.

Although wxPLURAL has forever (15d0695 (added wxPLURAL() macro, 2005-06-01)) been conditionally defined, there is no similar need with it. wxPLURAL has a longer named, and is wx-prefixed. The other, more recently introduced translation macros are not conditionally defined, which makes wxPLURAL inconsistent in this sense.

The purpose of WXINTL_NO_GETTEXT_MACRO is, as I understand it, to avoid
name clashes between _() and symbols with the same name introduced by
other libraries or compilers.

Although wxPLURAL has forever (15d0695 (added wxPLURAL() macro,
2005-06-01)) been conditionally defined, there is no similar need with it.
wxPLURAL has a longer name, and is wx-prefixed. The other, more recently
introduced translation macros are not conditionally defined, which makes
wxPLURAL inconsistent in this regard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant