File: nls.h

package info (click to toggle)
newt 0.52.25-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,196 kB
  • sloc: ansic: 9,336; python: 713; makefile: 276; sh: 37; xml: 7
file content (22 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


#ifndef LOCALEDIR
#define LOCALEDIR "/usr/share/locale"
#endif

# include <locale.h>

#ifdef ENABLE_NLS
# include <libintl.h>
# define _(Text) gettext (Text)
#else
# define _(Text) (Text)
# define dgettext(Package, String) (String)
#endif

# ifdef gettext_noop
#  define N_(String) gettext_noop (String)
# else
#  define N_(String) (String)
# endif