mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-02 01:12:17 +01:00
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:
committed by
Matthias Clasen
parent
0d723a240e
commit
a1ac3c0e23
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user