gtk2/gtk/gtkintl.h
Xavier Claessens bcd0704511 Remove #ifdef ENABLE_NLS
libintl API is guaranteed to always be available, glib will fallback to
proxy-libintl in case gettext is not found.
2022-03-31 11:41:34 -04:00

12 lines
266 B
C

#ifndef __GTKINTL_H__
#define __GTKINTL_H__
#include <glib/gi18n-lib.h>
#define P_(String) g_dgettext (GETTEXT_PACKAGE "-properties", String)
/* not really I18N-related, but also a string marker macro */
#define I_(string) g_intern_static_string (string)
#endif