forked from AuroraMiddleware/gtk
670775d8d8
2008-05-11 Yair Hershkovitz <yairhr@gmail.com> * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do gettext_initialization only once. * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext with the extended functionality that was in the removed dpgettext(). * gtk/gtkaccellabelc: * gtk/gtkstock.c: * gtk/gtkimmulticontext.c: * gtk/gtkactiongroup.c: * gtk/gtkintl.h: use glib i18n api. svn path=/trunk/; revision=20091
16 lines
324 B
C
16 lines
324 B
C
#ifndef __GTKINTL_H__
|
|
#define __GTKINTL_H__
|
|
|
|
#include <glib/gi18n-lib.h>
|
|
|
|
#ifdef ENABLE_NLS
|
|
#define P_(String) g_dgettext(GETTEXT_PACKAGE "-properties",String)
|
|
#else
|
|
#define P_(String) (String)
|
|
#endif
|
|
|
|
/* not really I18N-related, but also a string marker macro */
|
|
#define I_(string) g_intern_static_string (string)
|
|
|
|
#endif
|