GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-5719ba6fd5
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 Thu Sep 12 2024 06:57:58 for GRASS GIS 8 Programmer's Manual by
1.9.1