gtkintl.h 324 Bytes
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1 2 3
#ifndef __GTKINTL_H__
#define __GTKINTL_H__

4
#include <glib/gi18n-lib.h>
Owen Taylor's avatar
Owen Taylor committed
5 6

#ifdef ENABLE_NLS
7
#define P_(String) g_dgettext(GETTEXT_PACKAGE "-properties",String)
8
#else 
9
#define P_(String) (String)
Owen Taylor's avatar
Owen Taylor committed
10 11
#endif

12 13 14
/* not really I18N-related, but also a string marker macro */
#define I_(string) g_intern_static_string (string)

Owen Taylor's avatar
Owen Taylor committed
15
#endif