mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-15 04:48:29 +01:00
Bug 503071 - Application direction changes to right to left even if theres
2008-05-11 Yair Hershkovitz <yairhr@gmail.com> Bug 503071 - Application direction changes to right to left even if theres no translation. * glib/gi18n.c: g_i18n_init() for initializing the glib i18n, checking if a translation is available for the calling app. wrappers for gettext, dgettext and dpgettext to check first if the application should be translated. * glib/gi18n.h: symbol declaration for gettext wrappers. * glib/gi18n-lib.h: include gi18n.h instead of libintl.h. * glib/gstrfuncs.c: moved g_dpgettext() to glib/gi18n.c. * glib/gutils.c: use g_dgettext() instead of dgettext(). * glib/glibintl.h: include gi18n.h. * glib.symbols: added gettext wrappers. * glib/Makefile.am: added gi18n.c. svn path=/trunk/; revision=6882
This commit is contained in:
committed by
Yair Hershkovitz
parent
e210eda09d
commit
7ab77ec9cd
@@ -1,6 +1,8 @@
|
||||
#ifndef __GLIBINTL_H__
|
||||
#define __GLIBINTL_H__
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#ifndef SIZEOF_CHAR
|
||||
#error "config.h must be included prior to glibintl.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user