|
ManaPlus
|
Go to the documentation of this file.
24 #ifndef UTILS_GETTEXT_H
25 #define UTILS_GETTEXT_H
35 #define _(s) (const_cast <char*>(gettext(s)))
36 #define N_(s) (const_cast <char*>(s))
38 #elif defined(ENABLE_CUSTOMNLS)
42 #define gettext(s) const_cast <char*>(mainTranslator->getChar(s))
43 #define _(s) const_cast <char*>(mainTranslator->getChar(s))
44 #define N_(s) (const_cast <char*>(s))
45 #define ngettext(s1, s2, i1) const_cast <char*>(mainTranslator->getChar(s1))
49 #define gettext(s) (const_cast <char*>(s))
50 #define _(s) (const_cast <char*>(s))
51 #define N_(s) (const_cast <char*>(s))
52 #define ngettext(s1, s2, i1) (const_cast <char*>(s1))