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:
Yair Hershkovitz
2008-05-11 09:34:29 +00:00
committed by Yair Hershkovitz
parent e210eda09d
commit 7ab77ec9cd
9 changed files with 224 additions and 68 deletions

View File

@@ -1146,7 +1146,6 @@ g_strdown
#endif
g_strv_length
g_strip_context
g_dpgettext
#endif
#endif
@@ -1583,6 +1582,14 @@ g_win32_locale_filename_from_utf8
#endif
#endif
#if IN_HEADER(__G_I18N_H__)
#if IN_FILE(__G_I18N_C__)
g_gettext
g_dgettext
g_dpgettext
#endif
#endif
#ifdef INCLUDE_VARIABLES
g_ascii_table
g_utf8_skip