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

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
 
#define _(MSG)   ::gettext( MSG )
 
#define PL_(MSG1, MSG2, N)   ::ngettext( MSG1, MSG2, N )
 

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

Macro Definition Documentation

◆ N_

#define N_ (   MSG)    MSG

◆ _

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

Definition at line 37 of file Gettext.h.

◆ PL_

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

Definition at line 40 of file Gettext.h.