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)
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] Gettext- Domain= xsane
Name=XSane Image scanning program
Comment=Scan, copy and fax images
[...]
X-Ubuntu-
(notice "XSane Image scanning program" vs. "XSane Image Scanner", which impedes translations to be used)