Yvan,
You could try /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Resources/
Thanks Shane.
I knew this one but
(1) it contain only a subset of the strings used
(2) I will have to check how it's localized in Mavericks because in 10.8 (all versions) it's an awful mess.
(3) the strings which I am wanting at this time aren't available in the resources of this folder.
The needed ones are :
« Searching ^0… »
At this time I grab it from the Finder's resources with :
set Searching_loc to localized string "SB37"
I must drop the « ^0… » component which is not the same in every languages
« System Files »
At this time I grab it from the Finder's resources with :
set SystemFiles_loc to localized string "RV_SYSTEM_FILES_SLICE_NAME"
« Name »
At this time I grab it from the Finder's resources with :
set Name_loc to localized string "IN_S21"
« Contents »
At this time I grab it from the Finder's resources with :
set Contents_loc to localized string "kMDItemTextContent" from table "SlicesAttributeNameOverrides"
I assume that using savedsearch would not be easier because with French system, the xml file is not entitled :
Search in “This Mac”.savedSearch
but
Recherche dans « Ce Mac ».savedSearch
KOENIG Yvan (VALLAURIS, France) lundi 14 octobre 2013 14:13:18
«Some Search.plist