Bug 498420 - Missing gettext initialisation for glade
Summary: Missing gettext initialisation for glade
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: All
OS: All
low
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-30 12:34 UTC by Emmanuel Lacour
Modified: 2010-03-16 17:19 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-11 16:41:22 UTC
Embargoed:


Attachments (Terms of Use)
Patch to fix missing gettext initialisation for glade (464 bytes, patch)
2009-04-30 12:34 UTC, Emmanuel Lacour
no flags Details | Diff

Description Emmanuel Lacour 2009-04-30 12:34:38 UTC
Created attachment 341917 [details]
Patch to fix missing gettext initialisation for glade

Description of problem:

Some strings are not translated in the UI, even the string is in the .po file.

Version-Release number of selected component (if applicable):

trunk as of 20090430

How reproducible:

each time

Steps to Reproduce:
1. set your locale to fr_FR
2. start virt-manager
  
Actual results:

In the menu, "File" is displayed as "File".

Expected results:

In the menu, "File" should be translated as "Fichier"

Additional info:

The attached patch fixes this problem by setting the gettext domain for glade (only python gettext domain was set up).

Comment 1 Cole Robinson 2009-05-11 16:41:22 UTC
Hmm, seems to work fine here without the patch, but it doesn't seem to hurt, so I've committed a variant of it upstream:

http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virt-manager--devel/rev/9a1ec5ee501e

Thanks!


Note You need to log in before you can comment on or make changes to this bug.