2 * Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation
5 * This file is part of the Gnome Library.
7 * The Gnome Library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
12 * The Gnome Library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with the Gnome Library; see the file COPYING.LIB. If not,
19 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
27 * Handles all of the internationalization configuration options.
28 * Author: Tom Tromey <tromey@creche.cygnus.com>
31 #ifndef __LIBFOO_CANVAS_I18N_H__
32 #define __LIBFOO_CANVAS_I18N_H__
38 #if !defined(__LIBFOO_CANVAS_I18NP_H__)
42 # ifdef GNOME_EXPLICIT_TRANSLATION_DOMAIN
44 # define _(String) dgettext (GNOME_EXPLICIT_TRANSLATION_DOMAIN, String)
46 # define _(String) gettext (String)
49 # define N_(String) gettext_noop (String)
51 # define N_(String) (String)
54 /* Stubs that do something close enough. */
55 # define textdomain(String) (String)
56 # define gettext(String) (String)
57 # define dgettext(Domain,Message) (Message)
58 # define dcgettext(Domain,Message,Type) (Message)
59 # define bindtextdomain(Domain,Directory) (Domain)
60 # define _(String) (String)
61 # define N_(String) (String)
68 #endif /* __LIBFOO_CANVAS_I18N_H__ */