 |
ManaPlus
|
Go to the documentation of this file.
23 #ifndef UTILS_GETTEXT_H
24 #define UTILS_GETTEXT_H
28 #endif // HAVE_CONFIG_H
34 #define _(s) (const_cast <char*>(gettext(s)))
35 #define N_(s) (const_cast <char*>(s))
37 #elif defined(ENABLE_CUSTOMNLS) // ENABLE_NLS
41 #define gettext(s) const_cast <char*>(mainTranslator->getChar(s))
42 #define _(s) const_cast <char*>(mainTranslator->getChar(s))
43 #define N_(s) (const_cast <char*>(s))
44 #define ngettext(s1, s2, i1) const_cast <char*>(mainTranslator->getChar(s1))
48 #define gettext(s) (const_cast <char*>(s))
49 #define _(s) (const_cast <char*>(s))
50 #define N_(s) (const_cast <char*>(s))
51 #define ngettext(s1, s2, i1) (const_cast <char*>(s1))
55 #endif // UTILS_GETTEXT_H