libzypp  11.13.5
Gettext.h File Reference

Interface to gettext. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Macros

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

Functions

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

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.