|
|
|
|
|
|
|
|
#ifndef _I18N_H |
|
|
#ifndef _I18N_H |
|
|
#define _I18N_H 1 |
|
|
#define _I18N_H 1 |
|
|
|
|
|
|
|
|
#include "gettext.h" |
|
|
|
|
|
|
|
|
|
|
|
/* Need to tell gcc that pgettext() doesn't screw up format strings */ |
|
|
/* Need to tell gcc that pgettext() doesn't screw up format strings */ |
|
|
#ifdef __GNUC__ |
|
|
#ifdef __GNUC__ |
|
|
static const char * |
|
|
static const char * |
|
|
|
|
|
|
|
|
int category) __attribute__ ((format_arg (3))); |
|
|
int category) __attribute__ ((format_arg (3))); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#include "gettext.h" |
|
|
|
|
|
|
|
|
#define _(String) gettext (String) |
|
|
#define _(String) gettext (String) |
|
|
#define p_(Context, String) pgettext (Context, String) |
|
|
#define p_(Context, String) pgettext (Context, String) |
|
|
#define N_(String) gettext_noop (String) |
|
|
#define N_(String) gettext_noop (String) |