grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

glocale.h
Go to the documentation of this file.
1#ifndef GRASS_GLOCALE_H
2#define GRASS_GLOCALE_H
3
4#include <grass/config.h>
5
6#include <grass/defs/glocale.h>
7
8#if defined(HAVE_LIBINTL_H) && defined(USE_NLS)
9#include <libintl.h>
10#define _(str) G_gettext(PACKAGE,(str))
11#define n_(strs,strp,num) G_ngettext(PACKAGE,(strs),(strp),num)
12#else
13#define _(str) (str)
14#define n_(strs,strp,num) ((num == 1) ? (strs) : (strp))
15#endif
16
17#endif