Bug 503071 - Application direction changes to right to left even if theres
authorYair Hershkovitz <yairhr@gmail.com>
Sun, 11 May 2008 09:34:29 +0000 (09:34 +0000)
committerYair Hershkovitz <yairhr@src.gnome.org>
Sun, 11 May 2008 09:34:29 +0000 (09:34 +0000)
commit7ab77ec9cd2072d0bacf4d2c93ac1824c2c82d06
tree3e53dddeb55385d4f2a72af604c362ca818d05ac
parente210eda09db792800b6da15334ae08e7fde9b59a
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
ChangeLog
glib/Makefile.am
glib/gi18n-lib.h
glib/gi18n.c [new file with mode: 0644]
glib/gi18n.h
glib/glib.symbols
glib/glibintl.h
glib/gstrfuncs.c
glib/gutils.c