gtk2/gtk/gtkintl.h
Xavier Claessens 91c60dcac0 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-04-21 19:18:00 -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