libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Gettext.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
14
#ifndef ZYPP_BASE_GETTEXT_H
15
#define ZYPP_BASE_GETTEXT_H
16
18
#define N_(MSG) MSG
19
21
#define _(MSG) ::zypp::gettext::dgettext( MSG )
22
24
#define _PL(MSG1,MSG2,N) ::zypp::gettext::dngettext( MSG1, MSG2, N )
25
27
namespace
zypp
28
{
29
namespace
gettext
31
{
32
34
const
char
*
dgettext
(
const
char
* msgid );
35
37
const
char
*
dngettext
(
const
char
* msgid1,
const
char
* msgid2,
38
unsigned
long
n );
39
41
}
// namespace gettext
44
}
// namespace zypp
46
#endif // ZYPP_BASE_GETTEXT_H
zypp::gettext::dgettext
const char * dgettext(const char *msgid)
Return translated text.
Definition:
Gettext.cc:45
zypp::gettext::dngettext
const char * dngettext(const char *msgid1, const char *msgid2, unsigned long n)
Return translated text (plural form).
Definition:
Gettext.cc:51
zypp
base
Gettext.h
Generated by
1.8.5