• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDECore

gettext.h File Reference

#include <string.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 _LIBGETTEXT_H   1
#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS   (__STRICT_ANSI__ - 0 == 0) && (__GNUC__ >= 3 || __GNUG__ >= 2 /* || __STDC_VERSION__ >= 199901L */ )
#define bind_textdomain_codeset(Domainname, Codeset)   ((const char *) (Codeset))
#define bindtextdomain(Domainname, Dirname)   ((const char *) (Dirname))
#define dcgettext(Domainname, Msgid, Category)   ((const char *) (Msgid))
#define dcngettext(Domainname, Msgid1, Msgid2, N, Category)   ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
#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)   ((const char *) (Msgid))
#define dngettext(Domainname, Msgid1, Msgid2, N)   ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
#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)   ((N) == 1 ? (const char *) (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))

Functions

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 const char * dcpgettext_expr (const char *domain, const char *msgctxt, 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 * pgettext_aux (const char *domain, const char *msg_ctxt_id, const char *msgid, int category)

Define Documentation

#define _LIBGETTEXT_H   1

Definition at line 20 of file gettext.h.

#define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS   (__STRICT_ANSI__ - 0 == 0) && (__GNUC__ >= 3 || __GNUG__ >= 2 /* || __STDC_VERSION__ >= 199901L */ )

Definition at line 167 of file gettext.h.

#define bind_textdomain_codeset ( Domainname,
Codeset   )     ((const char *) (Codeset))

Definition at line 78 of file gettext.h.

#define bindtextdomain ( Domainname,
Dirname   )     ((const char *) (Dirname))

Definition at line 77 of file gettext.h.

#define dcgettext ( Domainname,
Msgid,
Category   )     ((const char *) (Msgid))

Definition at line 69 of file gettext.h.

#define dcngettext ( Domainname,
Msgid1,
Msgid2,
N,
Category   )     ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))

Definition at line 74 of file gettext.h.

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

Definition at line 118 of file gettext.h.

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

Definition at line 107 of file gettext.h.

#define dgettext ( Domainname,
Msgid   )     ((const char *) (Msgid))

Definition at line 68 of file gettext.h.

#define dngettext ( Domainname,
Msgid1,
Msgid2,
N   )     ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))

Definition at line 72 of file gettext.h.

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

Definition at line 116 of file gettext.h.

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

Definition at line 221 of file gettext.h.

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

Definition at line 105 of file gettext.h.

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

Definition at line 176 of file gettext.h.

#define gettext ( Msgid   )     ((const char *) (Msgid))

Definition at line 67 of file gettext.h.

#define GETTEXT_CONTEXT_GLUE   "\004"

Definition at line 92 of file gettext.h.

#define gettext_noop ( String   )     String

Definition at line 89 of file gettext.h.

#define ngettext ( Msgid1,
Msgid2,
N   )     ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))

Definition at line 70 of file gettext.h.

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

Definition at line 113 of file gettext.h.

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

Definition at line 219 of file gettext.h.

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

Definition at line 102 of file gettext.h.

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

Definition at line 174 of file gettext.h.

#define textdomain ( Domainname   )     ((const char *) (Domainname))

Definition at line 76 of file gettext.h.


Function Documentation

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 232 of file gettext.h.

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

Definition at line 187 of file gettext.h.

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 148 of file gettext.h.

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

Definition at line 129 of file gettext.h.

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal