mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
a5e46bad36
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@948 dbcabf3a-b0e7-0310-adc4-f8d773084564
25 lines
613 B
C
25 lines
613 B
C
#ifdef ENABLE_NLS
|
|
|
|
# ifdef HAVE_LIBINTL_H
|
|
# include <libintl.h>
|
|
# 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
|
|
#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
|