mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-29 21:33:30 +02: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
@@ -3237,7 +3237,7 @@ glib_gettext (const gchar *str)
|
||||
_glib_gettext_initialized = TRUE;
|
||||
}
|
||||
|
||||
return dgettext (GETTEXT_PACKAGE, str);
|
||||
return g_dgettext (GETTEXT_PACKAGE, str);
|
||||
}
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
|
Reference in New Issue
Block a user