summaryrefslogtreecommitdiff
path: root/glib/gstrfuncs.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-06-11 23:37:49 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-06-11 23:37:49 +0000
commite0916c3f54502864142b66f9d801881ced52f44f (patch)
tree4c42deae4e7a5d70e059827d9a7bb0f8ee30a9be /glib/gstrfuncs.h
parent8882576e90433a9d784f498914a47c7a2a7a46f3 (diff)
downloadglib-e0916c3f54502864142b66f9d801881ced52f44f.tar.gz
Bug 503071 – Application direction changes to right to left even if
2008-06-11 Behdad Esfahbod <behdad@gnome.org> Bug 503071 – Application direction changes to right to left even if theres no translation * glib/gi18n-lib.h: * glib/glib.symbols: * glib/gstrfuncs.h: * glib/gstrfuncs.c: Add new functions g_dgettext() and g_dngettext(). * glib/gutils.c (glib_gettext): * glib/gfileutils.c (g_format_size_for_display): * glib/goption.c (dgettext_swapped): Use the new functions. svn path=/trunk/; revision=7020
Diffstat (limited to 'glib/gstrfuncs.h')
-rw-r--r--glib/gstrfuncs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/glib/gstrfuncs.h b/glib/gstrfuncs.h
index 0da475b28..4875517b7 100644
--- a/glib/gstrfuncs.h
+++ b/glib/gstrfuncs.h
@@ -247,6 +247,13 @@ gchar* g_stpcpy (gchar *dest,
G_CONST_RETURN gchar *g_strip_context (const gchar *msgid,
const gchar *msgval);
+G_CONST_RETURN gchar *g_dgettext (const gchar *domain,
+ const gchar *msgid);
+
+G_CONST_RETURN gchar *g_dngettext (const gchar *domain,
+ const gchar *msgid,
+ const gchar *msgid_plural,
+ gulong n);
G_CONST_RETURN gchar *g_dpgettext (const gchar *domain,
const gchar *msgctxtid,
gsize msgidoffset);