2
This header should not be included in other header files,
3
but included in the most bottom position of the inclusion part in the implementation (.cpp) files
4
where the message internationalization (texts with _("...") form) is required.
8
#ifdef CNOID_GETTEXT_DOMAIN_NAME
9
#undef CNOID_GETTEXT_DOMAIN_NAME
11
#define CNOID_GETTEXT_DOMAIN_NAME "@target@-@CNOID_VERSION@"
17
#cmakedefine01 CNOID_ENABLE_GETTEXT
19
#if CNOID_ENABLE_GETTEXT
22
#define _(text) dgettext(CNOID_GETTEXT_DOMAIN_NAME, text)
23
#define N_(string) string
28
inline const char* bindtextdomain(const char* domainname, const char* dirname) {
31
inline const char* dgettext(const char* domainname, const char* msgid){
36
#define _(string) string
37
#define N_(string) string