private.h

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

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

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

/*
 * libtu/private.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_PRIVATE_H
#define LIBTU_PRIVATE_H

#ifndef CF_NO_LOCALE

#include <libintl.h>

#define TR(X) dgettext("libtu", X)

#else

#define TR(X) (X)

#endif

#define DUMMY_TR(X) X

#endif /* LIBTU_PRIVATE_H */

mercurial