diff options
author | Theodore Ts'o <tytso@mit.edu> | 2000-06-12 22:06:16 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2000-06-12 22:06:16 +0000 |
commit | a13575f4d29a908add19ea27baa102bc6944ee30 (patch) | |
tree | 8162c3d7b676b1f9216e10dcf91ce3b29e0d528b /resize/resize2fs.h | |
parent | 5dd7ff07d032df32b018c0dfd1cbdf30bd7bf29f (diff) | |
download | e2fsprogs-a13575f4d29a908add19ea27baa102bc6944ee30.tar.gz |
ChangeLog, extent.c, main.c, resize2fs.c, resize2fs.h:
main.c, resize2fs.c, resize2fs.h, extent.c: Add NLS support.
Diffstat (limited to 'resize/resize2fs.h')
-rw-r--r-- | resize/resize2fs.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 <libintl.h> +#include <locale.h> +#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 |