[Bug 410234] Re: Xsane menu entry is not translatable
Hi, Sorry for posting this here but I have been struggling with finding a scanner that works without any issues on ubuntu. Would really appreciate any help I can get? and also how to install the drivers etc. sorry again for posting this question here but I am desperate :) -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Ashan. Please use the Launchpad Answer Tracker https://answers.launchpad.net/ the Ubuntu forums http://ubuntuforums.org/ for support requests. You will be more likely to receive an answer at either of those places. You may wish to have a read through the official wiki - https://help.ubuntu.com/community/ScanningHowTo If you require further assistance, please utilise the above mentioned support sites. Thanks in advance for your understanding cooperation. -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
** Changed in: ubuntu-translations Status: Fix Committed = Fix Released -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
** Branch linked: lp:ubuntu/xsane -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
This bug was fixed in the package xsane - 0.996-2ubuntu1.1 --- xsane (0.996-2ubuntu1.1) karmic-proposed; urgency=low * Modified .desktop entry to match POT changes (LP: #410234) -- David Planella david.plane...@ubuntu.com Tue, 03 Nov 2009 08:43:08 +0100 ** Changed in: xsane (Ubuntu Karmic) Status: Fix Committed = Fix Released -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Verified, package from -proposed provides translated menu entry (at least in Italian) -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
** Tags added: verification-done ** Tags removed: verification-needed -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
This bug was fixed in the package xsane - 0.996-2ubuntu1.1 --- xsane (0.996-2ubuntu1.1) karmic-proposed; urgency=low * Modified .desktop entry to match POT changes (LP: #410234) -- David Planella david.plane...@ubuntu.com Tue, 03 Nov 2009 08:43:08 +0100 ** Changed in: xsane (Ubuntu Karmic) Status: Fix Committed = Fix Released -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Copied karmic-proposed to lucid. ** Changed in: xsane (Ubuntu) Status: Fix Committed = Fix Released ** Changed in: xsane (Ubuntu Karmic) Status: Fix Released = Fix Committed -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Also verified with Catalan. The -proposed version shows the string translated. -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
** Changed in: xsane (Ubuntu) Status: In Progress = Fix Committed ** Changed in: ubuntu-translations Status: In Progress = Fix Committed -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Added a new patch modifying the .desktop file under debian/ directly. ** Attachment removed: Let the desktop entry use translations http://launchpadlibrarian.net/34350003/translate_desktop_entry.debdiff ** Attachment added: Let the desktop entry use translations http://launchpadlibrarian.net/35010205/translate_desktop_entry.debdiff -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Also uploaded a package to my PPA (https://launchpad.net/~dpm/+archive/ppa/?field.series_filter=karmic) for testing purposes. ** Description changed: Binary package hint: xsane - The xsane menu entry under the Applications Graphics main menu appears - untranslated and cannot be translated in Launchpad. + 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). - Those strings come from the src/xsane.desktop file in the source - package, which would need to be internationalised, so that the strings - can be extracted and put into the POT template. + 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 appears untranslated + + This is due to 13_pot_desktop_msgid.dpatch patch, correctly adding the + XSane Image Scanner string to the POT template, but the actual string + in the debian/xsane.desktop package remains unchanged as XSane Image + scanning program, for which there is no actual translation. The + attached patch 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. ** Description changed: 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 appears untranslated This is due to 13_pot_desktop_msgid.dpatch patch, correctly adding the XSane Image Scanner string to the POT template, but the actual string in the debian/xsane.desktop package remains unchanged as XSane Image - scanning program, for which there is no actual translation. The - attached patch 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. + scanning program, for which there is no actual translation. + + 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. ** Description changed: 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 appears untranslated + 2. The XSane Image scanning program entry appears untranslated This is due to 13_pot_desktop_msgid.dpatch patch, correctly adding the XSane Image Scanner string to the POT template, but the actual string in the debian/xsane.desktop package remains unchanged as XSane Image scanning program, for which there is no actual translation. 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. -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Fine for an SRU. Please don't upload that debdiff, though. It's a file in debian/ which should be modified directly, not through a patch. ** Also affects: xsane (Ubuntu Karmic) Importance: Undecided Status: New ** Changed in: xsane (Ubuntu Karmic) Status: New = In Progress ** Changed in: xsane (Ubuntu Karmic) Assignee: (unassigned) = David Planella (dpm) -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Please find attached a patch with an attempt to fix this issue. ** Attachment added: Let the desktop entry use translations http://launchpadlibrarian.net/34350003/translate_desktop_entry.debdiff ** Changed in: ubuntu-translations Status: Confirmed = In Progress ** Changed in: ubuntu-translations Importance: Undecided = High ** Changed in: ubuntu-translations Assignee: (unassigned) = David Planella (dpm) -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
Actually, the entries do get added to the template by a patch (13_pot_desktop_msgid.dpatch), which adds the following strings to the template: + +msgid XSane Image Scanner +msgstr + +msgid Scan, copy and fax images +msgstr This, however, does not seem to work in the current version of the package, which creates the POT template, gets imported correctly into Launchpad, but the wrong 'Name' key gets put in the installed /usr/share/applications/xsane.desktop file: [Desktop Entry] Name=XSane Image scanning program Comment=Scan, copy and fax images [...] X-Ubuntu-Gettext-Domain=xsane (notice XSane Image scanning program vs. XSane Image Scanner, which impedes translations to be used) -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
** Tags added: needs-desktop-entry-i18n -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 410234] Re: Xsane menu entry is not translatable
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? ** Changed in: ubuntu-translations Status: New = Confirmed -- Xsane menu entry is not translatable https://bugs.launchpad.net/bugs/410234 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs