Navigation

Operators and Keywords

Function List:

C++ API

gettext.h File Reference

#include <string.h>
#include <stdlib.h>
Include dependency graph for gettext.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define gettext(Msgid)   ((const char *) (Msgid))
#define dgettext(Domainname, Msgid)   ((void) (Domainname), gettext (Msgid))
#define dcgettext(Domainname, Msgid, Category)   ((void) (Category), dgettext (Domainname, Msgid))
#define ngettext(Msgid1, Msgid2, N)
#define dngettext(Domainname, Msgid1, Msgid2, N)   ((void) (Domainname), ngettext (Msgid1, Msgid2, N))
#define dcngettext(Domainname, Msgid1, Msgid2, N, Category)   ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N))
#define textdomain(Domainname)   ((const char *) (Domainname))
#define bindtextdomain(Domainname, Dirname)   ((void) (Domainname), (const char *) (Dirname))
#define bind_textdomain_codeset(Domainname, Codeset)   ((void) (Domainname), (const char *) (Codeset))
#define gettext_noop(String)   String
#define GETTEXT_CONTEXT_GLUE   "\004"
#define pgettext(Msgctxt, Msgid)   pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
#define dpgettext(Domainname, Msgctxt, Msgid)   pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
#define dcpgettext(Domainname, Msgctxt, Msgid, Category)   pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category)
#define npgettext(Msgctxt, Msgid, MsgidPlural, N)   npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
#define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N)   npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
#define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category)   npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category)
#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
#define pgettext_expr(Msgctxt, Msgid)   dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES)
#define dpgettext_expr(Domainname, Msgctxt, Msgid)   dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES)
#define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N)   dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)
#define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N)   dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)

Define Documentation

#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
Value:
(((__GNUC__ >= 3 || __GNUG__ >= 2) && !__STRICT_ANSI__) \
   /* || __STDC_VERSION__ >= 199901L */ )
#define bind_textdomain_codeset (   Domainname,
  Codeset 
)    ((void) (Domainname), (const char *) (Codeset))
#define bindtextdomain (   Domainname,
  Dirname 
)    ((void) (Domainname), (const char *) (Dirname))
#define dcgettext (   Domainname,
  Msgid,
  Category 
)    ((void) (Category), dgettext (Domainname, Msgid))
#define dcngettext (   Domainname,
  Msgid1,
  Msgid2,
  N,
  Category 
)    ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N))
#define dcnpgettext (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
  N,
  Category 
)    npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category)
#define dcpgettext (   Domainname,
  Msgctxt,
  Msgid,
  Category 
)    pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category)
#define dgettext (   Domainname,
  Msgid 
)    ((void) (Domainname), gettext (Msgid))
#define dngettext (   Domainname,
  Msgid1,
  Msgid2,
  N 
)    ((void) (Domainname), ngettext (Msgid1, Msgid2, N))
#define dnpgettext (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
  N 
)    npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
#define dnpgettext_expr (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
  N 
)    dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)
#define dpgettext (   Domainname,
  Msgctxt,
  Msgid 
)    pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
#define dpgettext_expr (   Domainname,
  Msgctxt,
  Msgid 
)    dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES)
#define gettext (   Msgid  )     ((const char *) (Msgid))
#define GETTEXT_CONTEXT_GLUE   "\004"
#define gettext_noop (   String  )     String
#define ngettext (   Msgid1,
  Msgid2,
  N 
)
Value:
((N) == 1 \
     ? ((void) (Msgid2), (const char *) (Msgid1)) \
     : ((void) (Msgid1), (const char *) (Msgid2)))
#define npgettext (   Msgctxt,
  Msgid,
  MsgidPlural,
  N 
)    npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)
#define npgettext_expr (   Msgctxt,
  Msgid,
  MsgidPlural,
  N 
)    dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)
#define pgettext (   Msgctxt,
  Msgid 
)    pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)
#define pgettext_expr (   Msgctxt,
  Msgid 
)    dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES)
#define textdomain (   Domainname  )     ((const char *) (Domainname))
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines