]> git.saurik.com Git - apt.git/blame - buildlib/apti18n.h.in
Japanese translation update
[apt.git] / buildlib / apti18n.h.in
CommitLineData
c908c48e 1// -*- mode: cpp; mode: fold -*-
ec2f559a 2// $Id: apti18n.h.in,v 1.6 2003/01/11 07:18:18 jgg Exp $
c908c48e
AL
3/* Internationalization macros for apt. This header should be included last
4 in each C file. */
5
6// Set by autoconf
7#undef USE_NLS
c908c48e 8
ec2f559a 9#ifdef USE_NLS
c908c48e
AL
10// apt will use the gettext implementation of the C library
11# include <libintl.h>
c6e8074f
AL
12# ifdef APT_DOMAIN
13# define _(x) dgettext(APT_DOMAIN,x)
80948457
AL
14# else
15# define _(x) gettext(x)
16# endif
c908c48e
AL
17#else
18// apt will not use any gettext
19# define setlocale(a, b)
c908c48e
AL
20# define _(x) x
21#endif