]>
git.saurik.com Git - apt.git/blob - buildlib/apti18n.h.in
1 // -*- mode: cpp; mode: fold -*-
2 // $Id: apti18n.h.in,v 1.6 2003/01/11 07:18:18 jgg Exp $
3 /* Internationalization macros for apt. This header should be included last
10 // apt will use the gettext implementation of the C library
13 # define _(x) dgettext(APT_DOMAIN,x)
14 # define P_(msg,plural,n) dngettext(APT_DOMAIN,msg,plural,n)
16 # define _(x) gettext(x)
17 # define P_(msg,plural,n) ngettext(msg,plural,n)
21 // apt will not use any gettext
22 # define setlocale(a, b)
23 # define textdomain(a)
24 # define bindtextdomain(a, b)
26 # define P_(msg,plural,n) (n == 1 ? msg : plural)
28 # define dgettext(d, m) m