Desktop entry needs the X-Ubuntu-Gettext-Domain key

Bug #457632 reported by David Planella
28
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
High
Fran Diéguez
ibus (Ubuntu)
Fix Released
Low
Unassigned
Karmic
Fix Released
Low
Unassigned

Bug Description

Binary package hint: ibus

This bug affects users with a localised version of Ubuntu, in which the "System > Preferences > IBus Preferences" menu entry of the default desktop installation appears untranslated (although it is translated in Launchpad).

TEST CASE:

1. In a localized system using a non-English locale and with complete XSane translations in Launchpad but not complete upstream (e.g. Galician, 'gl'), go to System > Preference
2. The "IBus Preferences" entry appears untranslated

In order for translations in Launchpad to be used in the .desktop menu entry, bus/ibus.desktop.in (or bus/ibus.desktop after the build) needs to be added the 'X-Ubuntu-Gettext-Domain=ibus' key. Otherwise translations cannot be used at runtime and the menu entry for ibus appears untranslated for those languages not providing an upstream translation.

See https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation#Desktop%20Entries for more information.

The attached debdiff by LI Daobing addresses this issue by adding the 'X-Ubuntu-Gettext-Domain=ibus' key to debian/ibus.desktop.in and debian/ibus-setup.desktop.in

Revision history for this message
Fran Diéguez (frandieguez) wrote :

I have made a patch to solve this. The file I attach add the key X-Ubuntu-Gettext-Domain=ibus on setup/ibus.desktop.in and bus/ibus.desktop.in.

Tested on my Karmic box and works fine.

Changed in ubuntu-translations:
assignee: nobody → Francisco Diéguez (frandieguez)
status: New → In Progress
Aron Xu (happyaron)
Changed in ibus (Ubuntu):
status: New → Confirmed
Revision history for this message
Fran Diéguez (frandieguez) wrote :

Sorry the previous patch was done with the wrong apply direction. Try this one

Revision history for this message
LI Daobing (lidaobing) wrote :
David Planella (dpm)
Changed in ubuntu-translations:
importance: Undecided → High
Changed in ubuntu-translations:
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Martin Pitt (pitti)
Changed in ibus (Ubuntu Karmic):
importance: Undecided → Low
Changed in ubuntu-translations:
status: In Progress → Fix Committed
David Planella (dpm)
description: updated
Changed in ubuntu-translations:
status: Fix Committed → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Sponsored, thanks!

Changed in ibus (Ubuntu Karmic):
status: Confirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted into karmic-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in ibus (Ubuntu Karmic):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Luca Ferretti (elle.uca) wrote :

Verified, package from -proposed provides translated menu entry (at least in Italian)

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus - 1.2.0.20090927-2ubuntu2

---------------
ibus (1.2.0.20090927-2ubuntu2) karmic-proposed; urgency=low

  * Desktop entry needs the X-Ubuntu-Gettext-Domain key (LP: #457632)
    - bus/ibus.desktop.in: updated.
    - setup/ibus-setup.desktop.in: updated.
 -- LI Daobing <email address hidden> Sun, 25 Oct 2009 09:40:59 +0800

Changed in ibus (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied karmic-proposed to lucid.

Changed in ibus (Ubuntu):
status: Confirmed → Fix Released
Changed in ibus (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus - 1.2.0.20090927-2ubuntu2

---------------
ibus (1.2.0.20090927-2ubuntu2) karmic-proposed; urgency=low

  * Desktop entry needs the X-Ubuntu-Gettext-Domain key (LP: #457632)
    - bus/ibus.desktop.in: updated.
    - setup/ibus-setup.desktop.in: updated.
 -- LI Daobing <email address hidden> Sun, 25 Oct 2009 09:40:59 +0800

Changed in ibus (Ubuntu Karmic):
status: Fix Committed → Fix Released
David Planella (dpm)
Changed in ubuntu-translations:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.