Mon, 17 Jan 2005 22:02:09 +0100
trunk: changeset 1934
Fixed everything that requires locale stuff to check CF_NO_LOCALE.
79 | 1 | /* |
2 | * libtu/private.h | |
3 | * | |
4 | * Copyright (c) Tuomo Valkonen 2004. | |
5 | * | |
6 | * You may distribute and modify this library under the terms of either | |
7 | * the Clarified Artistic License or the GNU LGPL, version 2.1 or later. | |
8 | */ | |
9 | ||
10 | #ifndef LIBTU_PRIVATE_H | |
11 | #define LIBTU_PRIVATE_H | |
12 | ||
85 | 13 | #ifndef CF_NO_LOCALE |
79 | 14 | |
15 | #include <libintl.h> | |
16 | ||
17 | #define TR(X) dgettext("libtu", X) | |
18 | ||
19 | #else | |
20 | ||
21 | #define TR(X) (X) | |
22 | ||
23 | #endif | |
24 | ||
25 | #define DUMMY_TR(X) X | |
26 | ||
27 | #endif /* LIBTU_PRIVATE_H */ |