GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
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
config.h
glocale.h
include
grass
glocale.h
Generated on Mon May 31 2021 05:21:29 for GRASS GIS 7 Programmer's Manual by
1.8.13