summaryrefslogtreecommitdiff
path: root/gtk/gtkintl.h
blob: caeb68eb6019a6f9920986a972e5a83b306b8de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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