Revision: | 1.1 |
Committed: | Thu Jul 19 08:24:50 2007 UTC (16 years, 10 months ago) by pippijn |
Content type: | text/plain |
Branch: | MAIN |
Log Message: | initial import. the most important changes since Atheme are: - fixed many memory leaks - fixed many bugs - converted to C++ and use more STL containers - added a (not very enhanced yet) perl module - greatly improved XML-RPC speed - added a JSON-RPC module with code from json-cpp - added a valgrind memcheck module to operserv - added a more object oriented base64 implementation - added a specialised unit test framework - improved stability - use gettimeofday() if available - reworked adding/removing commands - MemoServ IGNORE DEL can now remove indices |
# | Content |
---|---|
1 | /* |
2 | * Copyright © 2005 William Pitcock et al. |
3 | * Rights to this code are documented in doc/LICENSE. |
4 | * |
5 | * This is the header which includes all of the internationalization stuff. |
6 | * |
7 | * $Id: i18n.h 8005 2007-03-29 22:27:21Z jilles $ |
8 | */ |
9 | |
10 | #ifndef __ATHEME_INTL_H__ |
11 | #define __ATHEME_INTL_H__ |
12 | |
13 | #ifdef ENABLE_NLS |
14 | # include <locale.h> |
15 | # include <libintl.h> |
16 | # define _(String) gettext (String) |
17 | # ifdef gettext_noop |
18 | # define N_(String) gettext_noop (String) |
19 | # else |
20 | # define N_(String) (String) |
21 | # endif |
22 | #else |
23 | # define _(x) (x) |
24 | # define N_(x) (x) |
25 | # define ngettext(s1, sn, n) ((n) == 1 ? (s1) : (sn)) |
26 | #endif |
27 | |
28 | #endif |