Re: Localized Spotlight Attribute Names
Re: Localized Spotlight Attribute Names
- Subject: Re: Localized Spotlight Attribute Names
- From: Scott Anguish <email@hidden>
- Date: Sun, 10 Jul 2005 16:58:18 -0400
On Jul 10, 2005, at 3:00 PM, Jonathon Mah wrote:
Hi Cocoa-dev'ers,
What's the easiest way to get back a localized string for a
Spotlight attribute? In other words, what function do I call to
change "kMDItemWhereFroms" into "Where from" (and whatever else in
other languages)? Bonus marks are given to also getting "Where the
item came from". The Finder uses this when you make a new search,
and select "Other..." from the criteria pop-up menu.
MDSchemaCopyDisplayNameForAttribute
to get a localized description use
MDSchemaCopyDisplayDescriptionForAttribute
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden