Ardour  8.7-15-gadf511264b
gettext.h File Reference
#include <libintl.h>
#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.

Macros

#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   0
 
#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)
 

Functions

static const char * pgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, int category)
 
static const char * npgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, const char *msgid_plural, unsigned long int n, int category)
 
static const char * dcpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, int category)
 
static const char * dcnpgettext_expr (const char *domain, const char *msgctxt, const char *msgid, const char *msgid_plural, unsigned long int n, int category)
 

Macro Definition Documentation

◆ _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS

#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS   0

Definition at line 199 of file gettext.h.

◆ dcnpgettext

#define dcnpgettext (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
  N,
  Category 
)     npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category)

Definition at line 138 of file gettext.h.

◆ dcpgettext

#define dcpgettext (   Domainname,
  Msgctxt,
  Msgid,
  Category 
)     pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category)

Definition at line 127 of file gettext.h.

◆ dnpgettext

#define dnpgettext (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
 
)     npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 136 of file gettext.h.

◆ dnpgettext_expr

#define dnpgettext_expr (   Domainname,
  Msgctxt,
  Msgid,
  MsgidPlural,
 
)     dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 255 of file gettext.h.

◆ dpgettext

#define dpgettext (   Domainname,
  Msgctxt,
  Msgid 
)     pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)

Definition at line 125 of file gettext.h.

◆ dpgettext_expr

#define dpgettext_expr (   Domainname,
  Msgctxt,
  Msgid 
)     dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES)

Definition at line 208 of file gettext.h.

◆ GETTEXT_CONTEXT_GLUE

#define GETTEXT_CONTEXT_GLUE   "\004"

Definition at line 112 of file gettext.h.

◆ gettext_noop

#define gettext_noop (   String)    String

Definition at line 109 of file gettext.h.

◆ npgettext

#define npgettext (   Msgctxt,
  Msgid,
  MsgidPlural,
 
)     npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 133 of file gettext.h.

◆ npgettext_expr

#define npgettext_expr (   Msgctxt,
  Msgid,
  MsgidPlural,
 
)     dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES)

Definition at line 253 of file gettext.h.

◆ pgettext

#define pgettext (   Msgctxt,
  Msgid 
)     pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES)

Definition at line 122 of file gettext.h.

◆ pgettext_expr

#define pgettext_expr (   Msgctxt,
  Msgid 
)     dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES)

Definition at line 206 of file gettext.h.

Function Documentation

◆ dcnpgettext_expr()

static const char* dcnpgettext_expr ( const char *  domain,
const char *  msgctxt,
const char *  msgid,
const char *  msgid_plural,
unsigned long int  n,
int  category 
)
static

Definition at line 266 of file gettext.h.

◆ dcpgettext_expr()

static const char* dcpgettext_expr ( const char *  domain,
const char *  msgctxt,
const char *  msgid,
int  category 
)
static

Definition at line 219 of file gettext.h.

◆ npgettext_aux()

static const char* npgettext_aux ( const char *  domain,
const char *  msg_ctxt_id,
const char *  msgid,
const char *  msgid_plural,
unsigned long int  n,
int  category 
)
static

Definition at line 168 of file gettext.h.

◆ pgettext_aux()

static const char* pgettext_aux ( const char *  domain,
const char *  msg_ctxt_id,
const char *  msgid,
int  category 
)
static

Definition at line 149 of file gettext.h.