libzypp: zypp/base/Gettext.h File Reference

libzypp 17.25.10

Namespaces | Macros | Functions
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
#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. 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

## ◆ N_

#define N_ | ( |  | MSG | ) | MSG

Definition at line 34 of file Gettext.h.

## ◆ _

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

Definition at line 37 of file Gettext.h.

## ◆ PL_

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

Definition at line 40 of file Gettext.h.