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

6 Commits   0 Branches   2 Tags
bfc1508d (kx 2023-03-24 03:55:33 +0300  1) 
bfc1508d (kx 2023-03-24 03:55:33 +0300  2) #ifndef __SUPPORT_NLS__
bfc1508d (kx 2023-03-24 03:55:33 +0300  3) #define __SUPPORT_NLS__   1
bfc1508d (kx 2023-03-24 03:55:33 +0300  4) 
bfc1508d (kx 2023-03-24 03:55:33 +0300  5) #if ENABLE_NLS == 1
bfc1508d (kx 2023-03-24 03:55:33 +0300  6) 
bfc1508d (kx 2023-03-24 03:55:33 +0300  7) #ifndef _
bfc1508d (kx 2023-03-24 03:55:33 +0300  8) #  include <gettext.h>
bfc1508d (kx 2023-03-24 03:55:33 +0300  9) #  ifndef _
bfc1508d (kx 2023-03-24 03:55:33 +0300 10) #    define _(s)         gettext(s)
bfc1508d (kx 2023-03-24 03:55:33 +0300 11) #  endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 12) #  ifdef gettext_noop
bfc1508d (kx 2023-03-24 03:55:33 +0300 13) #    define N_(s)        gettext_noop(s)
bfc1508d (kx 2023-03-24 03:55:33 +0300 14) #  else
bfc1508d (kx 2023-03-24 03:55:33 +0300 15) #    define N_(s)        (s)
bfc1508d (kx 2023-03-24 03:55:33 +0300 16) #  endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 17) #  ifdef ngettext
bfc1508d (kx 2023-03-24 03:55:33 +0300 18) #    define Q_(s, p, n)  ngettext( s, p, n )
bfc1508d (kx 2023-03-24 03:55:33 +0300 19) #  else
bfc1508d (kx 2023-03-24 03:55:33 +0300 20) #    define Q_(s, p, n)  ((n==1) ? gettext(s) : gettext(p))
bfc1508d (kx 2023-03-24 03:55:33 +0300 21) #  endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 22) #endif /* !_ */
bfc1508d (kx 2023-03-24 03:55:33 +0300 23) 
bfc1508d (kx 2023-03-24 03:55:33 +0300 24) #else
bfc1508d (kx 2023-03-24 03:55:33 +0300 25) 
bfc1508d (kx 2023-03-24 03:55:33 +0300 26) #  define _(s)           (s)
bfc1508d (kx 2023-03-24 03:55:33 +0300 27) #  define N_(s)          (s)
bfc1508d (kx 2023-03-24 03:55:33 +0300 28) #  define Q_(s, p, n)    ((n == 1) ? (s) : (p))
bfc1508d (kx 2023-03-24 03:55:33 +0300 29) 
bfc1508d (kx 2023-03-24 03:55:33 +0300 30) #endif
bfc1508d (kx 2023-03-24 03:55:33 +0300 31) 
bfc1508d (kx 2023-03-24 03:55:33 +0300 32) #endif /* __SUPPORT_NLS__ */