Fallback message for no 3D video chipset needs improvements for translations

Bug #704409 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Translations
Fix Released
Medium
Unassigned
gnome-session (Ubuntu)
Fix Released
Low
Didier Roche-Tolomelli

Bug Description

Binary package hint: gnome-session

Ubuntu adds the 02_add_ubuntu_session.patch to the GNOME session. That patch contains a .desktop file (see attachment) with the fallback message shown if a video chipset without 3D support is detected, in which case we fall back to the 2D session.

The file needs some improvements to be translation-friendly:

* It's got an initial ";" as a delimiter mark. This might confuse translators. If there is no other way to do this, at least a translator comment should be used (in case intltool supports comments in .desktop files)
* The line break is not escaped, and it appears as a textual "\n" in extracted message for translation.

We'd appreciate any ideas on how to fix those. Thanks!

David Planella (dpm)
Changed in ubuntu-translations:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
David Planella (dpm) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Perhaps bug 712091 can be fixed at the same time.

Changed in gnome-session (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Changed in gnome-session (Ubuntu):
importance: Undecided → Low
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

David will confirm first how to add a comment in a .desktop file as the initial ";" is important.

Revision history for this message
Martin Pitt (pitti) wrote :

I really think this should be redesigned to have FallbackSession_1, _FallbackMessage_1, etc. Otherwise you can't ever add a new one or change the existing order without breaking all existing translations for existing sessions. It will also avoid having metacharacters like ';' (which _someone_ will break), or very long strings in translations.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

looking at it

Changed in gnome-session (Ubuntu):
status: New → Triaged
assignee: Canonical Desktop Team (canonical-desktop-team) → Didier Roche (didrocks)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-session - 2.32.1-0ubuntu14

---------------
gnome-session (2.32.1-0ubuntu14) natty; urgency=low

  * debian/patches/02_add_ubuntu_session.patch:
    - add a better wording (LP: #712091)
  * debian/control.in:
    - recommends unity-2d as a gnome-panel | unity alternative (LP: #708928)
  * debian/patches/05_enhance_fallback_mode.patch:
    - change the multi-fallback handling, now a list of key in the keyfile is
      provided to FallbackSessionsID. If the fallback is found, the matching
      <keyname>_Message will be displayed if exists. (LP: #704409)
    - don't show "change user session" for now has gnome-control-center with
      that option won't be ready for natty (LP: #711920)
    - adapt the gnome session to the new format (LP: #707232)
  * debian/patches/02_add_ubuntu_session.patch:
    - adapt to new format
    - set ubuntu as the default session if no argument is given
 -- Didier Roche <email address hidden> Thu, 03 Feb 2011 16:17:57 +0100

Changed in gnome-session (Ubuntu):
status: Triaged → Fix Released
Gabor Kelemen (kelemeng)
Changed in ubuntu-translations:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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