|
Packit Service |
50ad14 |
#ifndef LOCALEDIR
|
|
Packit Service |
50ad14 |
#define LOCALEDIR "/usr/share/locale"
|
|
Packit Service |
50ad14 |
#endif
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
#ifdef HAVE_LOCALE_H
|
|
Packit Service |
50ad14 |
#include <locale.h>
|
|
Packit Service |
50ad14 |
#endif
|
|
Packit Service |
50ad14 |
|
|
Packit Service |
50ad14 |
#ifdef ENABLE_NLS
|
|
Packit Service |
50ad14 |
#include <libintl.h>
|
|
Packit Service |
50ad14 |
#define _(Text) gettext(Text)
|
|
Packit Service |
50ad14 |
#ifdef gettext_noop
|
|
Packit Service |
50ad14 |
#define N_(String) gettext_noop(String)
|
|
Packit Service |
50ad14 |
#else
|
|
Packit Service |
50ad14 |
#define N_(String) (String)
|
|
Packit Service |
50ad14 |
#endif
|
|
Packit Service |
50ad14 |
#define P_(singular, plural, number) ngettext(singular, plural, number)
|
|
Packit Service |
50ad14 |
#else
|
|
Packit Service |
50ad14 |
#undef bindtextdomain
|
|
Packit Service |
50ad14 |
#define bindtextdomain(Domain, Directory) /* empty */
|
|
Packit Service |
50ad14 |
#undef textdomain
|
|
Packit Service |
50ad14 |
#define textdomain(Domain) /* empty */
|
|
Packit Service |
50ad14 |
#define _(Text) (Text)
|
|
Packit Service |
50ad14 |
#define N_(Text) (Text)
|
|
Packit Service |
50ad14 |
#define P_(singular, plural, number) (number == 1 ? singular : plural)
|
|
Packit Service |
50ad14 |
#endif
|