diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-01-16 23:10:05 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-01-16 23:10:05 +0000 |
commit | 07d4d314b6e45daeb1bd22538aa7f057bcd37a65 (patch) | |
tree | a0d4c6086726f6a2428c08d70b5f10517bf11434 /gtk/gtkintl.h | |
parent | fb526d239af04183f5751f209c269d13b244de80 (diff) | |
download | gtk+-07d4d314b6e45daeb1bd22538aa7f057bcd37a65.tar.gz |
The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and
Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de>
The first part of the fix for #114351 (see also
gdk-pixbuf/ChangeLog and po/ChangeLog):
* gtk/gtkintl.h:
* gdk-pixbuf/gdk-pixbuf-i18n.h:
* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
* gdk/gdkdisplaymanager.c:
* gdk-pixbuf/gdk-pixbuf.c:
* modules/input/gtkimcontextxim.c:
* gtk/*.c: Mark property blurbs and nicks with P_().
* po/Makefile.in.in: Add --keyword=P_ to the xgettext
invocation, since property blurbs and nicks are
now marked with P_().
Diffstat (limited to 'gtk/gtkintl.h')
-rw-r--r-- | gtk/gtkintl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkintl.h b/gtk/gtkintl.h index ab0478e6cb..f655fab42e 100644 --- a/gtk/gtkintl.h +++ b/gtk/gtkintl.h @@ -6,6 +6,7 @@ #ifdef ENABLE_NLS #include<libintl.h> #define _(String) dgettext(GETTEXT_PACKAGE,String) +#define P_(String) dgettext(GETTEXT_PACKAGE,String) #ifdef gettext_noop #define N_(String) gettext_noop(String) #else @@ -13,6 +14,7 @@ #endif #else /* NLS is disabled */ #define _(String) (String) +#define P_(String) (String) #define N_(String) (String) #define textdomain(String) (String) #define gettext(String) (String) |