/* * Copyright © 2005 William Pitcock et al. * Rights to this code are documented in doc/LICENSE. * * This is the header which includes all of the internationalization stuff. * * $Id: i18n.h,v 1.1 2007/07/19 08:24:50 pippijn Exp $ */ #ifndef __ATHEME_INTL_H__ #define __ATHEME_INTL_H__ #ifdef ENABLE_NLS # include # include # define _(String) gettext (String) # ifdef gettext_noop # define N_(String) gettext_noop (String) # else # define N_(String) (String) # endif #else # define _(x) (x) # define N_(x) (x) # define ngettext(s1, sn, n) ((n) == 1 ? (s1) : (sn)) #endif #endif