locale.h

changeset 81
ebefcbcb126f
child 112
ccc57312b8d0
equal deleted inserted replaced
80:c60bc05a6d38 81:ebefcbcb126f
1 /*
2 * libtu/locale.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_LOCALE_H
11 #define LIBTU_LOCALE_H
12
13 #ifdef CF_NO_LOCALE
14
15 #define TR(X) X
16 #define DUMMY_TR(X) X
17
18 #else
19
20 #include <libintl.h>
21
22 #define TR(X) gettext(X)
23 #define DUMMY_TR(X) X
24
25 #endif
26
27 #endif /* LIBTU_LOCALE_H */

mercurial