After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 78158 - gettext not initialized without gnome. but gtk is gettextible.
gettext not initialized without gnome. but gtk is gettextible.
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.12.0 betas
Other other
: Normal normal
: 0.12.0
Assigned To: Charles Kerr
Charles Kerr
Depends on:
Blocks:
 
 
Reported: 2002-04-09 05:05 UTC by kz
Modified: 2006-06-18 05:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
simple way to turn on gettext if not gnome + gtk2 requirement. (481 bytes, patch)
2002-04-09 21:31 UTC, kz
none Details | Review

Description kz 2002-04-09 05:05:46 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.

Comment 1 kz 2002-04-09 06:22:39 UTC
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
Comment 2 kz 2002-04-09 06:25:41 UTC
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().
Comment 3 Charles Kerr 2002-04-09 13:29:23 UTC
If you know what code should be added, could you
write it and add it to this bug report as a comment?
Comment 4 kz 2002-04-09 21:31:26 UTC
Created attachment 7621 [details] [review]
simple way to turn on gettext if not gnome + gtk2 requirement.