source: trunk/third/libgnomeprintui/libgnomeprintui/gnome-print-i18n.h @ 18338

Revision 18338, 1.6 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18337, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/*
3 *  gnome-print-i18n.h:
4 *
5 *  This program is free software; you can redistribute it and/or
6 *  modify it under the terms of the GNU Library General Public License
7 *  as published by the Free Software Foundation; either version 2 of
8 *  the License, or (at your option) any later version.
9 *
10 *  This program is distributed in the hope that it will be useful,
11 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 *  GNU Library General Public License for more details.
14 *
15 *  You should have received a copy of the GNU Library General Public
16 *  License along with this program; if not, write to the Free Software
17 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 *
19 */
20
21#ifndef __GNOME_PRINT_I18N_H__
22#define __GNOME_PRINT_I18N_H__
23
24#ifdef ENABLE_NLS
25#    include <libintl.h>
26#    undef _
27#    define _(String)  libgnomeprintui_gettext (String)
28#    ifdef gettext_noop
29#        define N_(String) gettext_noop (String)
30#    else
31#        define N_(String) (String)
32#    endif
33#else
34/* Stubs that do something close enough.  */
35#    define textdomain(String) (String)
36#    define gettext(String) (String)
37#    define dgettext(Domain,Message) (Message)
38#    define dcgettext(Domain,Message,Type) (Message)
39#    define bindtextdomain(Domain,Directory) (Domain)
40#    define _(String) (String)
41#    define N_(String) (String)
42#endif
43
44char *libgnomeprintui_gettext (const char *msgid);
45
46#endif /* __GNOME_PRINT_I18N_H__ */
Note: See TracBrowser for help on using the repository browser.