]> git.decadent.org.uk Git - ion3.git/blob - libtu/locale.h
[svn-inject] Installing original source of ion3
[ion3.git] / libtu / locale.h
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 */