Bug 172423 - "Keywords" validated as string, not localestring
Summary: "Keywords" validated as string, not localestring
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-file-utils
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
Keywords: Patch
Depends On:
TreeView+ depends on / blocked
Reported: 2005-11-04 08:30 UTC by Ville Skyttä
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-11-07 16:41:22 UTC

Attachments (Terms of Use)
Validate "Keywords" as localestring (939 bytes, patch)
2005-11-04 08:30 UTC, Ville Skyttä
no flags Details | Diff

Description Ville Skyttä 2005-11-04 08:30:06 UTC
The value of the "Keywords" key in desktop entry files is validated as string,   
which is not too useful for localized keywords.   
I don't know of a specification that would define exactly what the "Keywords"   
key may contain, but the possibility of localizing the keywords would sound 
sane to me, and ASCII doesn't work for that purpose.   
A problem caused by this:   
Suggested patch against f.d.o CVS attached.  Reported here because there's no   
component for desktop-file-utils in bugs.freedesktop.org.  (That's  

Comment 1 Ville Skyttä 2005-11-04 08:30:07 UTC
Created attachment 120717 [details]
Validate "Keywords" as localestring

Comment 2 Ray Strode [halfline] 2006-11-07 16:38:03 UTC
So the only reference I can find to the use of Keywords, is here:


It doesn't say what type it is, so if we're finding localestrings in the wild I
guess your patch makes sense.

Comment 3 Ray Strode [halfline] 2006-11-07 16:41:22 UTC

Comment 4 Rex Dieter 2006-11-29 02:27:13 UTC
This affects packaging of many kde applications.  
Can we expect a fixed desktop-file-utils to land in fedora soon?

Comment 5 Ray Strode [halfline] 2006-11-29 03:21:57 UTC
Should be in tomorrow's rawhide.  Sorry for the delay; I thought I had already
pushed it to rawhide.

Note You need to log in before you can comment on or make changes to this bug.