byobu's desktop file needs gettext domain

Bug #623935 reported by Gabor Kelemen on 2010-08-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Undecided
Unassigned
byobu
Wishlist
Unassigned
byobu (Ubuntu)
Wishlist
Dustin Kirkland 
Maverick
Wishlist
Dustin Kirkland 

Bug Description

Binary package hint: byobu

The Byobu package in Ubuntu uses language packs, which include the translations of its .desktop file. These are imported into Launchpad and then exported.

Normally, before they are imported, they are stripped from the source .desktop file, which is ultimately shipped with no translations. Translations will actually be loaded from the .mo files in the language packs (see https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation/Packaging#DesktopEntries for more info).

However, the .desktop file is shipped with full translations, which override those in the language packs. In order for them to be stripped, the X-Ubuntu-Gettext-Domain must be added to the .desktop file.

If the X-Ubuntu-Gettext-Domain cannot be added through packaging (e.g. using the langpack.mk CDBS rule), another option is to add the X-GNOME-Gettext-Domain key directly to the upstream sources.

This would have the benefit that other distributions using this mechanism (e.g. OpenSUSE) will be able to use the upstream sources without further changes in this area. Distributions not loading translations of .desktop files at runtime, will simply ignore the key and load static translations as usual.

This is as simple as adding the following line to the .desktop file ('byobu' being the application's gettext domain):

X-GNOME-Gettext-Domain=byobu

Gabor Kelemen (kelemeng) on 2010-08-25
Changed in ubuntu-translations:
status: New → Triaged
Changed in byobu (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Dustin Kirkland  (kirkland) wrote :

I've commit this fix upstream. I'll cherry pick this commit for Maverick after the beta freeze lifts.

Changed in byobu (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
Changed in byobu:
importance: Undecided → Wishlist
status: New → Fix Committed
Changed in byobu (Ubuntu Maverick):
status: Triaged → In Progress
Changed in byobu:
status: Fix Committed → Fix Released
Changed in byobu (Ubuntu Maverick):
status: In Progress → Fix Released
Gabor Kelemen (kelemeng) on 2011-05-18
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers