mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-28 12:34:13 +08:00
20 lines
338 B
C
20 lines
338 B
C
#ifdef ENABLE_NLS
|
|
#include <libintl.h>
|
|
#include <locale.h>
|
|
#define _(a) (gettext (a))
|
|
#ifdef gettext_noop
|
|
#define N_(a) gettext_noop (a)
|
|
#else
|
|
#define N_(a) (a)
|
|
#endif
|
|
#ifndef NLS_CAT_NAME
|
|
#define NLS_CAT_NAME "e2fsprogs"
|
|
#endif
|
|
#ifndef LOCALEDIR
|
|
#define LOCALEDIR "/usr/share/locale"
|
|
#endif
|
|
#else
|
|
#define _(a) (a)
|
|
#define N_(a) a
|
|
#endif
|