NLS support should work without gnome now.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@71 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 1999-11-03 20:05:16 +00:00 committed by cras
commit d23d35fc30
3 changed files with 28 additions and 4 deletions

18
src/nls.h Normal file
View file

@ -0,0 +1,18 @@
#ifdef ENABLE_NLS
# include <libintl.h>
# define _(String) gettext (String)
# ifdef gettext_noop
# define N_(String) gettext_noop (String)
# else
# define N_(String) (String)
# endif
#else
/* Stubs that do something close enough. */
# 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)
#endif