glocale.h 313 B

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