glocale.h 282 B

1234567891011121314151617
  1. #ifndef GRASS_GLOCALE_H
  2. #define GRASS_GLOCALE_H
  3. #include <grass/config.h>
  4. extern char * G_gettext(const char *, const char *);
  5. #if defined(HAVE_LIBINTL_H) && defined(USE_NLS)
  6. #include <libintl.h>
  7. #define _(str) G_gettext(PACKAGE,(str))
  8. #else
  9. #define _(str) (str)
  10. #endif
  11. #endif