define Q_() for translation context.

2007-08-14  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-intl.h: define Q_() for translation context.


svn path=/trunk/; revision=23245
This commit is contained in:
Sven Neumann 2007-08-14 07:30:23 +00:00 committed by Sven Neumann
parent c8e333acf5
commit 9d2350f382
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-08-14 Sven Neumann <sven@gimp.org>
* libgimp/libgimp-intl.h: define Q_() for translation context.
2007-08-13 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c: include glib.h before checking for

View File

@ -30,6 +30,7 @@
#define _(String) dgettext (GETTEXT_PACKAGE "-libgimp", String)
#define Q_(String) g_strip_context ((String), dgettext (GETTEXT_PACKAGE "-libgimp", String))
#undef gettext
#define gettext(String) dgettext (GETTEXT_PACKAGE "-libgimp", String)