From a13575f4d29a908add19ea27baa102bc6944ee30 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 12 Jun 2000 22:06:16 +0000 Subject: ChangeLog, extent.c, main.c, resize2fs.c, resize2fs.h: main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support. --- resize/resize2fs.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'resize/resize2fs.h') diff --git a/resize/resize2fs.h b/resize/resize2fs.h index fa488d37..28d88c1b 100644 --- a/resize/resize2fs.h +++ b/resize/resize2fs.h @@ -36,6 +36,24 @@ #include "ext2fs/ext2fs.h" #endif +#ifdef ENABLE_NLS +#include +#include +#define _(a) (gettext (a)) +#ifdef gettext_noop +#define N_(a) gettext_noop (a) +#else +#define N_(a) (a) +#endif +/* FIXME */ +#define NLS_CAT_NAME "e2fsprogs" +#define LOCALEDIR "/usr/share/locale" +/* FIXME */ +#else +#define _(a) (a) +#define N_(a) a +#endif + /* * For the extent map -- cgit v1.2.3