2003-12-05 15:55:15 +00:00
|
|
|
/* LIBGIMP - The GIMP Library
|
|
|
|
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
2000-01-27 19:26:00 +00:00
|
|
|
*
|
2000-02-26 03:41:06 +00:00
|
|
|
* stdplugins-intl.h
|
2000-01-27 19:26:00 +00:00
|
|
|
*
|
2009-01-17 22:28:01 +00:00
|
|
|
* This library is free software: you can redistribute it and/or
|
2000-01-27 19:26:00 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2009-01-17 22:28:01 +00:00
|
|
|
* version 3 of the License, or (at your option) any later version.
|
2003-12-05 15:55:15 +00:00
|
|
|
*
|
2000-02-26 03:41:06 +00: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 19:26:00 +00:00
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2009-01-17 22:28:01 +00:00
|
|
|
* License along with this library. If not, see
|
2018-07-11 23:27:07 +02:00
|
|
|
* <https://www.gnu.org/licenses/>.
|
2000-01-27 19:26:00 +00:00
|
|
|
*/
|
2000-05-30 23:38:46 +00:00
|
|
|
|
1999-09-26 05:16:19 +00:00
|
|
|
#ifndef __STDPLUGINS_INTL_H__
|
|
|
|
#define __STDPLUGINS_INTL_H__
|
1999-09-25 01:59:43 +00:00
|
|
|
|
2003-03-25 16:38:19 +00:00
|
|
|
#ifndef GETTEXT_PACKAGE
|
|
|
|
#error "config.h must be included prior to stdplugins-intl.h"
|
|
|
|
#endif
|
1999-09-25 01:59:43 +00:00
|
|
|
|
2006-06-27 07:55:41 +00:00
|
|
|
#include <glib/gi18n.h>
|
2003-03-25 16:38:19 +00:00
|
|
|
|
2000-05-30 23:38:46 +00:00
|
|
|
|
2022-05-26 00:59:36 +02:00
|
|
|
#define DEFINE_STD_SET_I18N \
|
|
|
|
static gboolean \
|
|
|
|
set_i18n (GimpPlugIn *plug_in, \
|
|
|
|
const gchar *procedure_name, \
|
|
|
|
gchar **gettext_domain, \
|
|
|
|
gchar **catalog_dir) \
|
|
|
|
{ \
|
|
|
|
*gettext_domain = g_strdup (GETTEXT_PACKAGE"-std-plug-ins"); \
|
|
|
|
return TRUE; \
|
|
|
|
};
|
|
|
|
|
|
|
|
#define STD_SET_I18N set_i18n
|
1999-09-25 01:59:43 +00:00
|
|
|
|
2000-05-30 23:38:46 +00:00
|
|
|
|
1999-09-26 05:16:19 +00:00
|
|
|
#endif /* __STDPLUGINS_INTL_H__ */
|