Red Hat Bugzilla – Bug 104003
[PATCH] Wrong use of intltool for generating hwbrowser.desktop
Last modified: 2007-04-18 12:57:27 EDT
Description of problem:
hwbrowser.desktop.in contains pre-filled Name, GenericName and Comment
entries, which intltool doesn't touch at all. The .desktop.in file
should contain _Name, _GenericName and _Comment entries and
it should be mentioned in POTFILES.in, so that the strings are marked
for translation and automatically added to the desktop file.
Version-Release number of selected component (if applicable):
Using ';' to split dependencies and command in the %.desktop: %.desktop.in
rule in Makefile is ugly.
Created attachment 94356 [details]
Patch fixing hwbrowser.desktop.in and adding it to po/POTFILES.in
The attached patch fixes the issues, so that hwbrowser.desktop really is
generated from the .po files. This alone adds several translations
to the .desktop file; also, the Comment field is available for translation.
Patch applied and committed to cvs. Thanks for your help. hwbrowser-0.11-1
will contain the updated desktop file.