]> Pileus Git - ~andy/gtk/blob - gtk/gtkintl.h
Include glib/gi18n-lib.h and only define the P_() macros ourselves.
[~andy/gtk] / gtk / gtkintl.h
1 #ifndef __GTKINTL_H__
2 #define __GTKINTL_H__
3
4 #include "config.h"
5 #include <glib/gi18n-lib.h>
6
7 #ifdef ENABLE_NLS
8 #define P_(String) dgettext(GETTEXT_PACKAGE "-properties",String)
9 #else 
10 #define P_(String) (String)
11 #endif
12
13 #endif