Home | History | Annotate | Download | only in misc
      1 #ifdef ENABLE_NLS
      2 #include <libintl.h>
      3 #include <locale.h>
      4 #define _(a) (gettext (a))
      5 #ifdef gettext_noop
      6 #define N_(a) gettext_noop (a)
      7 #else
      8 #define N_(a) (a)
      9 #endif
     10 #ifndef NLS_CAT_NAME
     11 #define NLS_CAT_NAME "e2fsprogs"
     12 #endif
     13 #ifndef LOCALEDIR
     14 #define LOCALEDIR "/usr/share/locale"
     15 #endif
     16 #else
     17 #define _(a) (a)
     18 #define N_(a) a
     19 #endif
     20