GNOME Bugzilla – Bug 171302
messages of gnome-desktop-item-edit are not translated.
Last modified: 2005-05-10 06:31:43 UTC
Please describe the problem: when running gnome-desktop-item-edit, messages are not translated. Steps to reproduce: 1. run gnome-desktop-item-edit 2. 3. Actual results: running apps with localized messages Expected results: apps with english messages Does this happen every time? yes Other information: it seems can't load gnome-desktop-2.0.mo that contains translations of libgnome-desktop/gnome-ditem-edit.c (when running with strace, trying open prefix/share/locale/????/LC_MESSAGES/messages.mo instead of gnome-desktop-2.0.mo)
gnome-desktop-item-edit is part of gnome-panel. So it should look for gnome-panel-2.0.mo. Are you using a distribution or a home-compiled GNOME? Is gnome-panel translated?
*** Bug 171230 has been marked as a duplicate of this bug. ***
yes. execution code is in gnome-panel, but ui code is in gnome-desktop. and ui translations are in gnome-desktop, too. i said, messages are in libgnome-desktop/gnome-ditem-edit.c. but there is no usage of bindtextdomain() and it seems producing this bug.
Created attachment 39173 [details] [review] add bindtextdomain in libgnome-desktop/gnome-ditem-edit.c
Ah, you're probably right. Mark: what do you think of the patch?
Thanks 2005-04-13 Mark McLoughlin <mark@skynet.ie> Patch from Young-Ho Cha <ganadist@chollian.net> in bug #171302 * gnome-ditem-edit.c: (gnome_ditem_edit_class_init): initialize i18n
there is no need to call textdomain(). it produces new bug(after open gnome-desktop-item-edit, gnome-panel messages are untranslated.) please apply this patch.
Created attachment 46265 [details] [review] remove textdomain() in gnome-ditem-edit.c
See bug #302454 - fcrozat already has a patch to remove it. Thanks