2003-12-05 07:55:15 -08:00
|
|
|
/* LIBGIMP - The GIMP Library
|
|
|
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
2000-01-27 11:26:00 -08:00
|
|
|
*
|
2000-02-25 19:41:06 -08:00
|
|
|
* stdplugins-intl.h
|
2000-01-27 11:26:00 -08:00
|
|
|
*
|
2009-01-17 14:28:01 -08:00
|
|
|
* This library is free software: you can redistribute it and/or
|
2000-01-27 11:26:00 -08:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
2009-01-17 14:28:01 -08:00
|
|
|
* version 3 of the License, or (at your option) any later version.
|
2003-12-05 07:55:15 -08:00
|
|
|
*
|
2000-02-25 19:41:06 -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 11:26:00 -08:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2009-01-17 14:28:01 -08:00
|
|
|
* License along with this library. If not, see
|
2018-07-11 14:27:07 -07:00
|
|
|
* <https://www.gnu.org/licenses/>.
|
2000-01-27 11:26:00 -08:00
|
|
|
*/
|
2000-05-30 16:38:46 -07:00
|
|
|
|
1999-09-25 22:16:19 -07:00
|
|
|
#ifndef __STDPLUGINS_INTL_H__
|
|
|
|
|
#define __STDPLUGINS_INTL_H__
|
1999-09-24 18:59:43 -07:00
|
|
|
|
2003-03-25 08:38:19 -08:00
|
|
|
#ifndef GETTEXT_PACKAGE
|
|
|
|
|
#error "config.h must be included prior to stdplugins-intl.h"
|
|
|
|
|
#endif
|
1999-09-24 18:59:43 -07:00
|
|
|
|
2006-06-27 00:55:41 -07:00
|
|
|
#include <glib/gi18n.h>
|
2003-03-25 08:38:19 -08:00
|
|
|
|
|
|
|
|
#ifndef HAVE_BIND_TEXTDOMAIN_CODESET
|
|
|
|
|
# define bind_textdomain_codeset(Domain, Codeset) (Domain)
|
|
|
|
|
#endif
|
2000-05-30 16:38:46 -07:00
|
|
|
|
2017-06-17 02:38:18 -07:00
|
|
|
#define INIT_I18N() G_STMT_START{ \
|
2002-05-11 04:26:14 -07:00
|
|
|
bindtextdomain (GETTEXT_PACKAGE"-std-plug-ins", \
|
|
|
|
|
gimp_locale_directory ()); \
|
2002-05-07 04:33:58 -07:00
|
|
|
bind_textdomain_codeset (GETTEXT_PACKAGE"-std-plug-ins", "UTF-8"); \
|
2017-06-17 02:38:18 -07:00
|
|
|
textdomain (GETTEXT_PACKAGE"-std-plug-ins"); \
|
2001-08-29 17:21:38 -07:00
|
|
|
}G_STMT_END
|
1999-09-24 18:59:43 -07:00
|
|
|
|
2000-05-30 16:38:46 -07:00
|
|
|
|
1999-09-25 22:16:19 -07:00
|
|
|
#endif /* __STDPLUGINS_INTL_H__ */
|