Skip to content

Commit

Permalink
Localization - Fix Macros
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
nlogozzo committed Jan 3, 2024
1 parent c1f3926 commit 46b1d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/localization/gettext.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#define GETTEXT_CONTEXT_SEPARATOR "\004"
#define _(String) gettext(String)
#define _n(String, StringPlural, N) ngettext(String, StringPlural, N)
#define _p(Context, String) ::Nickvision::Aura::Localization::pgettext(Context GETTEXT_CONTEXT_SEPARATOR String, String)
#define _pn(Context, String, StringPlural, N) ::Nickvision::Aura::Localization::pngettext(Context GETTEXT_CONTEXT_SEPARATOR String, String, StringPlural, N)
#define _p(Context, String) ::Nickvision::Aura::Localization::Gettext::pgettext(Context GETTEXT_CONTEXT_SEPARATOR String, String)
#define _pn(Context, String, StringPlural, N) ::Nickvision::Aura::Localization::Gettext::pngettext(Context GETTEXT_CONTEXT_SEPARATOR String, String, StringPlural, N)

namespace Nickvision::Aura::Localization::Gettext
{
Expand Down

0 comments on commit 46b1d9d

Please sign in to comment.