Xsane menu entry is not translatable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
High
|
David Planella | ||
xsane (Ubuntu) |
Fix Released
|
Undecided
|
David Planella | ||
Karmic |
Fix Released
|
Undecided
|
David Planella |
Bug Description
Binary package hint: xsane
This bug affects users with a localised version of Ubuntu, in which the "Applications > Graphics > XSane Image scanning program" 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, go to Applications > Graphics
2. The "XSane Image scanning program" entry appears untranslated
This is due to 13_pot_
The attached debdiff corrects this by modifying the .desktop file to use the same "XSane Image Scanner" string as in the message catalog (.mo file), so that its translation can be loaded.
tags: | added: i18n |
tags: | added: needs-desktop-entry-i18n |
Changed in xsane (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-translations: | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in ubuntu-translations: | |
status: | Fix Committed → Fix Released |
Confirming in Karmic (in Finnish). However the menu entry is translated in Jaunty.
Looks like the desktop file src/xsane.desktop is not used (see debian/rules file) but instead the package uses file debian/ xsane.desktop. This file contains the necessary string "X-Ubuntu- Gettext- Domain" .
I downloaded the source package and built it (apt-get source xsane and debuild) and installed the xsane-0. 996-2ubuntu1- package. It installed the desktop file located under the debian directory and the menu entry was translated (.desktop file contains translations)! Then I reinstalled the package from repository the menu entry was again untranslated.
Can anyone explain this?