libzypp 17.31.7
Gettext.h File Reference
#include <zypp-core/base/Gettext.h>
Include dependency graph for Gettext.h:

Go to the source code of this file.


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


#define N_(MSG)   MSG
#define _(MSG)   ::gettext( MSG )
#define PL_(MSG1, MSG2, N)   ::ngettext( MSG1, MSG2, N )


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...

Macro Definition Documentation

◆ N_

#define N_ (   MSG)    MSG

◆ _

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

Definition at line 37 of file Gettext.h.

◆ PL_

#define PL_ (   MSG1,
)    ::ngettext( MSG1, MSG2, N )

Definition at line 40 of file Gettext.h.