2001-08-30 08:21:38 +08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-12-05 23:55:15 +08:00
|
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
2000-01-27 09:54:52 +08:00
|
|
|
*
|
|
|
|
* libgimp-intl.h
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2003-12-05 23:55:15 +08:00
|
|
|
* version 2 of the License, or (at your option) any later version.
|
2001-08-30 08:21:38 +08:00
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2000-01-27 09:54:52 +08:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
2000-05-31 07:38:46 +08:00
|
|
|
|
2000-01-27 09:54:52 +08:00
|
|
|
#ifndef __LIBGIMP_INTL_H__
|
|
|
|
#define __LIBGIMP_INTL_H__
|
|
|
|
|
2002-02-19 01:42:17 +08:00
|
|
|
#ifndef GETTEXT_PACKAGE
|
|
|
|
#error "config.h must be included prior to libgimp-intl.h"
|
|
|
|
#endif
|
2000-05-31 07:38:46 +08:00
|
|
|
|
2002-12-13 21:23:47 +08:00
|
|
|
#include <libintl.h>
|
|
|
|
|
|
|
|
|
2003-01-26 20:24:05 +08:00
|
|
|
#define _(String) dgettext (GETTEXT_PACKAGE "-libgimp", String)
|
2002-12-13 21:23:47 +08:00
|
|
|
|
|
|
|
#undef gettext
|
2003-01-26 20:24:05 +08:00
|
|
|
#define gettext(String) dgettext (GETTEXT_PACKAGE "-libgimp", String)
|
2002-12-13 21:23:47 +08:00
|
|
|
|
|
|
|
#ifdef gettext_noop
|
|
|
|
# define N_(String) gettext_noop (String)
|
2000-01-27 09:54:52 +08:00
|
|
|
#else
|
|
|
|
# define N_(String) (String)
|
|
|
|
#endif
|
|
|
|
|
2000-01-27 19:55:22 +08:00
|
|
|
|
2000-05-31 07:38:46 +08:00
|
|
|
#endif /* __LIBGIMP_INTL_H__ */
|