stdplugins-intl.h 333 Bytes
Newer Older
1
#include "libgimp/gimpintl.h"
Manish Singh's avatar
Manish Singh committed
2
#include <locale.h>
3 4 5 6 7 8 9 10 11 12 13 14

#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")
#endif