cSvn-UI for SVN Repositories

cGit-UI – is a web interface for Subversion (SVN) Repositories. cSvn CGI script is writen in C and therefore it's fast enough

15 Commits   0 Branches   1 Tag

#ifndef __SUPPORT_NLS__
#define __SUPPORT_NLS__   1

#if ENABLE_NLS == 1

#ifndef _
#  include <gettext.h>
#  ifndef _
#    define _(s)         gettext(s)
#  endif
#  ifdef gettext_noop
#    define N_(s)        gettext_noop(s)
#  else
#    define N_(s)        (s)
#  endif
#  ifdef ngettext
#    define Q_(s, p, n)  ngettext( s, p, n )
#  else
#    define Q_(s, p, n)  ((n==1) ? gettext(s) : gettext(p))
#  endif
#endif /* !_ */

#else

#  define _(s)           (s)
#  define N_(s)          (s)
#  define Q_(s, p, n)    ((n == 1) ? (s) : (p))

#endif

#endif /* __SUPPORT_NLS__ */