1999-09-25 01:59:43 +00:00
|
|
|
#ifndef __STDPLUGINS-INTL_H__
|
|
|
|
#define __STDPLUGINS-INTL_H__
|
|
|
|
|
1999-05-30 07:01:13 +00:00
|
|
|
#include <locale.h>
|
1999-05-29 16:35:47 +00:00
|
|
|
|
1999-09-25 01:59:43 +00:00
|
|
|
#include "libgimp/gimpintl.h"
|
|
|
|
|
1999-05-29 16:35:47 +00:00
|
|
|
#ifdef HAVE_LC_MESSAGES
|
|
|
|
#define INIT_I18N() \
|
|
|
|
setlocale(LC_MESSAGES, ""); \
|
|
|
|
bindtextdomain("gimp-std-plugins", LOCALEDIR); \
|
|
|
|
textdomain("gimp-std-plugins")
|
|
|
|
#else
|
|
|
|
#define INIT_I18N() \
|
|
|
|
bindtextdomain("gimp-std-plugins", LOCALEDIR); \
|
|
|
|
textdomain("gimp-std-plugins")
|
1999-09-23 11:49:16 +00:00
|
|
|
#endif
|
1999-09-25 01:59:43 +00:00
|
|
|
|
1999-08-27 21:06:00 +00:00
|
|
|
#define INIT_I18N_UI() \
|
|
|
|
gtk_set_locale(); \
|
1999-09-04 00:39:05 +00:00
|
|
|
setlocale (LC_NUMERIC, "C"); \
|
1999-08-27 21:06:00 +00:00
|
|
|
INIT_I18N();
|
1999-09-25 01:59:43 +00:00
|
|
|
|
|
|
|
#endif /* __STDPLUGINS-INTL_H__ */
|