libgimp/stdplugins-intl.h use the new function gimp_locale_directory()
2002-05-11 Sven Neumann <sven@gimp.org> * libgimp/stdplugins-intl.h * plug-ins/script-fu/script-fu-intl.h: use the new function gimp_locale_directory() instead of LOCALEDIR. * app/Makefile.am * plug-ins/*/Makefile.am: removed LOCALEDIR definition.
This commit is contained in:
committed by
Sven Neumann
parent
33b2724510
commit
328b93d718
@ -25,13 +25,15 @@
|
||||
#include "gimpintl.h"
|
||||
|
||||
|
||||
#define INIT_I18N() G_STMT_START{ \
|
||||
setlocale (LC_ALL, ""); \
|
||||
bindtextdomain(GETTEXT_PACKAGE"-libgimp", LOCALEDIR); \
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE"-libgimp", "UTF-8"); \
|
||||
bindtextdomain(GETTEXT_PACKAGE"-std-plug-ins", LOCALEDIR); \
|
||||
#define INIT_I18N() G_STMT_START{ \
|
||||
setlocale (LC_ALL, ""); \
|
||||
bindtextdomain (GETTEXT_PACKAGE"-libgimp", \
|
||||
gimp_locale_directory ()); \
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE"-libgimp", "UTF-8"); \
|
||||
bindtextdomain (GETTEXT_PACKAGE"-std-plug-ins", \
|
||||
gimp_locale_directory ()); \
|
||||
bind_textdomain_codeset (GETTEXT_PACKAGE"-std-plug-ins", "UTF-8"); \
|
||||
textdomain(GETTEXT_PACKAGE"-std-plug-ins"); \
|
||||
textdomain (GETTEXT_PACKAGE"-std-plug-ins"); \
|
||||
}G_STMT_END
|
||||
|
||||
#define INIT_I18N_UI() INIT_I18N()
|
||||
|
||||
Reference in New Issue
Block a user