Define a two-argument macro C_() for marking translatable strings with

2007-11-23  Matthias Clasen  <mclasen@redhat.com>

        * glib/gi18n-lib.h:
        * glib/gi18n.h: Define a two-argument macro C_() for marking
        translatable strings with context and implement C_() and Q_()
        using g_dpgettext().  (#142676, Morten Welinder)

        * glib/glib.symbols:
        * glib/gstrfuncs.[hc]: Implement g_dpgettext().


svn path=/trunk/; revision=5917
This commit is contained in:
Matthias Clasen
2007-11-23 07:50:54 +00:00
committed by Matthias Clasen
parent 0d723a240e
commit a1ac3c0e23
9 changed files with 127 additions and 17 deletions

View File

@@ -243,6 +243,10 @@ gchar* g_stpcpy (gchar *dest,
G_CONST_RETURN gchar *g_strip_context (const gchar *msgid,
const gchar *msgval);
G_CONST_RETURN gchar *g_dpgettext (const gchar *domain,
const gchar *msgctxtid,
const gchar *msgid);
G_END_DECLS
#endif /* __G_STRFUNCS_H__ */