search: Move close button to the right edge (see #665945)
[anjuta.git] / libfoocanvas / foo-canvas-i18n.h
blob1675bc4f5953c502ee1828c6b52eb65fbe0572be
1 /*
2 * Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation
3 * All rights reserved.
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.
23 @NOTATION@
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__
34 #include <glib.h>
36 G_BEGIN_DECLS
38 #if !defined(__LIBFOO_CANVAS_I18NP_H__)
40 #ifdef ENABLE_NLS
41 # include <libintl.h>
42 # ifdef GNOME_EXPLICIT_TRANSLATION_DOMAIN
43 # undef _
44 # define _(String) dgettext (GNOME_EXPLICIT_TRANSLATION_DOMAIN, String)
45 # else
46 # define _(String) gettext (String)
47 # endif
48 # ifdef gettext_noop
49 # define N_(String) gettext_noop (String)
50 # else
51 # define N_(String) (String)
52 # endif
53 #else
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)
62 #endif
64 #endif
66 G_END_DECLS
68 #endif /* __LIBFOO_CANVAS_I18N_H__ */