File: nls.h

package info (click to toggle)
newt 0.52.19-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,848 kB
  • ctags: 2,048
  • sloc: ansic: 9,266; python: 713; makefile: 261; sh: 33; 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