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.

/*
 * libtu/locale.h
 *
 * Copyright (c) Tuomo Valkonen 2004. 
 *
 * You may distribute and modify this library under the terms of either
 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
 */

#ifndef LIBTU_LOCALE_H
#define LIBTU_LOCALE_H

#ifdef CF_NO_LOCALE

#define TR(X) X
#define DUMMY_TR(X) X

#else

#include <libintl.h>

#define TR(X) gettext(X)
#define DUMMY_TR(X) X

#endif

#endif /* LIBTU_LOCALE_H */

mercurial