File: i18n.h

package info (click to toggle)
nxcl 0.9-3.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 560 kB
  • ctags: 412
  • sloc: cpp: 3,149; makefile: 114
file content (22 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __NXCL_I18N__
#  define __NXCL_I18N__
#  ifdef HAVE_CONFIG_H
#    include <config.h>
#  endif
#  ifdef ENABLE_NLS
#    include "../lib/gettext.h"
#    define _(String) gettext (String)
#    define gettext_noop(String) String
#    define N_(String) gettext_noop (String)
#  else
#    define _(String) (String)
#    define N_(String) String
#    define textdomain(Domain) (Domain)
#    define gettext(String) (String)
#    define dgettext(Domain,String) (String)
#    define dcgettext(Domain,String,Type) (String)
#    define bindtextdomain(Domain, Directory) (Domain) 
#    define bind_textdomain_codeset(Domain,Codeset) (Codeset) 
#  endif /* ENABLE_NLS */
#endif /* __NXCL_I18N__ */