Missing translations for "xterm failsafe session"

Bug #542068 reported by Ricardo Pérez López on 2010-03-19
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Low
Unassigned
gdm (Ubuntu)
Low
Unassigned
gnome-session (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gnome-session

The "xterm failsafe session" located in /usr/share/xsessions/xterm.desktop has the X-Ubuntu-Gettext-Domain=gdm entry in order to use the translations from /usr/share/locale-langpack/xx/LC_MESSAGES/gdm.mo. However, the "Name=xterm" and "Comment=Failsafe session with only xterm" can't be translated because there aren't in the Launchpad template.

The following query returns nothing:

https://translations.launchpad.net/ubuntu/lucid/+source/gnome-session/+pots/gnome-session-2.0/es/+translate?batch=10&show=all&search=xterm

We need to include i18n facility for, at least, the Comment= key, so we can translate the "Failsafe session with only xterm" string.

I attach an screenshot of the GDM Setup application, which you can see all the session names translated except the "failsafe xterm" one.

Gabor Kelemen (kelemeng) wrote :

This is coming from this file:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/gdm/lucid/annotate/head%3A/debian/xterm.desktop
Indeed, it needs to be marked for translation.

Changed in ubuntu-translations:
status: New → Triaged
Changed in gnome-session (Ubuntu):
status: New → Invalid
David Planella (dpm) on 2010-03-20
Changed in ubuntu-translations:
importance: Undecided → Low
David Planella (dpm) wrote :

I should probably open a new bug for this, but I'll mention it here for the record: the onboard.desktop file should also be marked for translation.

In any case, I think the part that will take more work is to rename the files to .desktop.in and make sure a) translations are extracted and b) the .desktop files are build. This will probably need to be done somewhere in debian'/rules. Marking strings for translation in both files is the easy part and can be done for both in one go.

Changed in gdm (Ubuntu):
importance: Undecided → Low
Gabor Kelemen (kelemeng) wrote :

This patch renames the .desktop files, adds translation marks to them, and changes the rules file to build desktop files from desktop.in files.

Gabor Kelemen (kelemeng) wrote :

Also, POTFILES.in should contain the new files.

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers