1999-11-03 15:05:16 -05:00
|
|
|
#ifdef ENABLE_NLS
|
2000-01-12 17:10:30 -05:00
|
|
|
# ifdef HAVE_LIBINTL_H
|
1999-11-03 15:05:16 -05:00
|
|
|
# include <libintl.h>
|
2000-01-12 17:10:30 -05:00
|
|
|
# else
|
|
|
|
# include "../intl/libgettext.h"
|
|
|
|
# endif
|
|
|
|
# define _(String) gettext (String)
|
|
|
|
# ifdef gettext_noop
|
|
|
|
# define N_(String) gettext_noop (String)
|
|
|
|
# else
|
|
|
|
# define N_(String) (String)
|
|
|
|
# endif
|
1999-11-03 15:05:16 -05:00
|
|
|
#else
|
|
|
|
/* Stubs that do something close enough. */
|
2000-01-12 17:10:30 -05:00
|
|
|
# define textdomain(String) (String)
|
|
|
|
# define gettext(String) (String)
|
|
|
|
# define dgettext(Domain,Message) (Message)
|
|
|
|
# define dcgettext(Domain,Message,Type) (Message)
|
|
|
|
# define bindtextdomain(Domain,Directory) (Domain)
|
|
|
|
# define _(String) (String)
|
|
|
|
# define N_(String) (String)
|
1999-11-03 15:05:16 -05:00
|
|
|
#endif
|