GNOME Bugzilla – Bug 78158
gettext not initialized without gnome. but gtk is gettextible.
Last modified: 2006-06-18 05:14:14 UTC
Package: Pan Severity: normal Version: 0.11.90 Synopsis: gettext not initialized without gnome. but gtk is gettextible. Bugzilla-Product: Pan Bugzilla-Component: general Description: now pan.c has #ifdef block to turn on gettext or not. but even if gtk-only, gettext is usable. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-04-09 01:05 ------- Reassigning to the default owner of the component, charles@rebelbase.com.
detail comment: what I'm saying is to check GNOME to initialize gettext is out of expect. #ifdef GNOME initialize with GNOME-related macros #else do it with general macros like LOCALEDIR #endif
a little off-topic: (already mail you developers) gtk2 is based of utf8. so need to force gettext to utf8. bind_textdomain_codeset(PACKAGE, "UTF-8"); beaneath of bindtextdomain().
If you know what code should be added, could you write it and add it to this bug report as a comment?
Created attachment 7621 [details] [review] simple way to turn on gettext if not gnome + gtk2 requirement.
Fixed in CVS: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=pan.c&rev1=1.147&rev2=1.148&root=/cvs/gnome