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 450085 - Translated strings don't appear translated in main window
Translated strings don't appear translated in main window
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
SVN trunk
Other Linux
: Normal blocker
: GNOME 2.20.0
Assigned To: Maintainers of sabayon
Maintainers of sabayon
Depends on:
Blocks:
 
 
Reported: 2007-06-22 14:36 UTC by Gabor Kelemen
Modified: 2007-09-19 19:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Screenshot showing sabayon 2.19x in Hungarian (16.96 KB, image/png)
2007-06-22 14:37 UTC, Gabor Kelemen
  Details
sabayon-450085-translate-glade-strings.diff (2.48 KB, patch)
2007-09-19 19:48 UTC, Federico Mena Quintero
committed Details | Review

Description Gabor Kelemen 2007-06-22 14:36:09 UTC
Strings in the main sabayon window, coming from admin-tool/sabayon.glade, don't appear as translated in the program, however they are translated in the po file.
Comment 1 Gabor Kelemen 2007-06-22 14:37:44 UTC
Created attachment 90454 [details]
Screenshot showing sabayon 2.19x in Hungarian
Comment 2 Theppitak Karoonboonyanan 2007-09-10 15:02:38 UTC
I confirm this problem, with jhbuild + python 2.4.4, tested under Thai locale. The untranslated messages in the screenshot also appear untranslated for my case.
Comment 3 André Klapper 2007-09-10 17:26:39 UTC
federico will take a look at this tomorrow, please take screenshots of other dialogs first. :-P
Comment 4 Federico Mena Quintero 2007-09-19 19:48:13 UTC
Created attachment 95859 [details] [review]
sabayon-450085-translate-glade-strings.diff

Oops, we weren't passing the l10n domain to gtk.glade.XML().  This is fixed now.
Comment 5 Federico Mena Quintero 2007-09-19 19:48:58 UTC
Fixed in trunk.  I'll make sabayon-2.20 after fixing another bug.

2007-09-19  Federico Mena Quintero  <federico@novell.com>

	Fix http://bugzilla.gnome.org/show_bug.cgi?id=450085 - Strings
	coming from sabayon.glade do not appear translated.

	* admin-tool/profilesdialog.py (AddProfileDialog.__init__): Pass
	the l10n domain to gtk.glade.XML.
	(ProfilesDialog.__init__): Likewise.

	* admin-tool/usersdialog.py (UsersDialog.__init__): Likewise.