00001 #ifndef LEOHTML_GETTEXT_H
00002 #define LEOHTML_GETTEXT_H
00003
00004 #ifdef HAVE_CONFIG_H
00005 # include <config.h>
00006 #endif
00007
00008 #ifdef ENABLE_NLS
00009 # include <locale.h>
00010 # include <libintl.h>
00011 # define _(String) gettext (String)
00012 # ifdef gettext_noop
00013 # define N_(String) gettext_noop (String)
00014 # else
00015 # define N_(String) (String)
00016 # endif
00017 #else
00018
00019 # define textdomain(String) (String)
00020 # define gettext(String) (String)
00021 # define dgettext(Domain,Message) (Message)
00022 # define dcgettext(Domain,Message,Type) (Message)
00023 # define bindtextdomain(Domain,Directory) (Domain)
00024 # define setlocale( a, b) ;
00025 # define _(String) (String)
00026 # define N_(String) (String)
00027 #endif
00028
00029 extern const char* LEOHTML_VERSION;
00030 extern const bool LEOHTML_IMAGE_SIZE_SUPPORT;
00031 extern const bool LEOHTML_CHAR_SET_SUPPORT;
00032
00033 #endif