locale.h

Mon, 17 Jan 2005 22:02:09 +0100

author
tuomov
date
Mon, 17 Jan 2005 22:02:09 +0100
changeset 85
9f94b2e96e3b
parent 81
ebefcbcb126f
child 112
ccc57312b8d0
permissions
-rw-r--r--

trunk: changeset 1934
Fixed everything that requires locale stuff to check CF_NO_LOCALE.

81
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
1 /*
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
2 * libtu/locale.h
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
3 *
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
4 * Copyright (c) Tuomo Valkonen 2004.
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
5 *
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
6 * You may distribute and modify this library under the terms of either
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
8 */
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
9
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
10 #ifndef LIBTU_LOCALE_H
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
11 #define LIBTU_LOCALE_H
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
12
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
13 #ifdef CF_NO_LOCALE
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
14
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
15 #define TR(X) X
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
16 #define DUMMY_TR(X) X
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
17
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
18 #else
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
19
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
20 #include <libintl.h>
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
21
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
22 #define TR(X) gettext(X)
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
23 #define DUMMY_TR(X) X
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
24
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
25 #endif
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
26
ebefcbcb126f trunk: changeset 1789
tuomov
parents:
diff changeset
27 #endif /* LIBTU_LOCALE_H */

mercurial