mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
Add C_() to glibintl.h
This commit is contained in:
parent
0a9bfa1c7d
commit
3cee971db5
@ -13,6 +13,7 @@ G_CONST_RETURN gchar *glib_gettext (const gchar *str) G_GNUC_FORMAT(1);
|
||||
#define _(String) glib_gettext(String)
|
||||
/* Split out this in the code, but keep it in the same domain for now */
|
||||
#define P_(String) glib_gettext(String)
|
||||
#define C_(Context,String) g_dpgettext (NULL, Context "\004" String, strlen (Context) + 1)
|
||||
|
||||
#ifdef gettext_noop
|
||||
#define N_(String) gettext_noop(String)
|
||||
@ -23,6 +24,7 @@ G_CONST_RETURN gchar *glib_gettext (const gchar *str) G_GNUC_FORMAT(1);
|
||||
#define _(String) (String)
|
||||
#define N_(String) (String)
|
||||
#define P_(String) (String)
|
||||
#define C_(Context,String) (String)
|
||||
#define textdomain(String) ((String) ? (String) : "messages")
|
||||
#define gettext(String) (String)
|
||||
#define dgettext(Domain,String) (String)
|
||||
|
Loading…
Reference in New Issue
Block a user