libzypp  13.10.6
Gettext.h File Reference

Interface to gettext. More...

Go to the source code of this file.

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::gettext
 

Macros

#define N_(MSG)   MSG
 Just tag text for translation. More...
 
#define _(MSG)   ::zypp::gettext::dgettext( MSG )
 Return translated text. More...
 
#define _PL(MSG1, MSG2, N)   ::zypp::gettext::dngettext( MSG1, MSG2, N )
 Return translated text (plural form). More...
 

Functions

const char * zypp::gettext::dgettext (const char *msgid)
 Return translated text. More...
 
const char * zypp::gettext::dngettext (const char *msgid1, const char *msgid2, unsigned long n)
 Return translated text (plural form). More...
 

Detailed Description

Interface to gettext.

Definition in file Gettext.h.

Macro Definition Documentation

#define N_ (   MSG)    MSG

Just tag text for translation.

Definition at line 18 of file Gettext.h.

#define _ (   MSG)    ::zypp::gettext::dgettext( MSG )

Return translated text.

Definition at line 21 of file Gettext.h.

#define _PL (   MSG1,
  MSG2,
 
)    ::zypp::gettext::dngettext( MSG1, MSG2, N )

Return translated text (plural form).

Definition at line 24 of file Gettext.h.