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 350875 - invest-applet is not localized
invest-applet is not localized
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: invest-applet
git master
Other All
: Normal critical
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-11 12:07 UTC by Wouter Bolsterlee (uws)
Modified: 2010-01-24 01:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (2.42 KB, patch)
2006-08-11 12:11 UTC, Wouter Bolsterlee (uws)
none Details | Review

Description Wouter Bolsterlee (uws) 2006-08-11 12:07:52 UTC
The invest-applet and invest-chart applications have non-functional i18n code. The strings are extracted and can be translated just as they should, but those localized strings are never used.
Comment 1 Wouter Bolsterlee (uws) 2006-08-11 12:11:59 UTC
Created attachment 70706 [details] [review]
Proposed fix

This patch adds 2 constants to defs.py.in so that the gettext catalog files can be found.

It also makes sure both invest-chart and invest-applet initialize gettext with the CORRECT file paths (the strings are in gnome-applets-2.0, not in invest-applet!).
Comment 2 Danielle Madeley 2006-08-11 15:36:03 UTC
If it works, do it.
Comment 3 Danilo Segan 2006-08-11 19:38:56 UTC
Wouter: if you are using Glade, don't forget to init domain on them as well.
Comment 4 Wouter Bolsterlee (uws) 2006-08-12 19:47:28 UTC
Ok, I commit my patch + the glade additions Danilo mentioned to HEAD.