OS X Core Types descriptions can be changed by editing InfoPlist.strings within the CoreTypes.bundle.
The property list is a compiled binary, so just in case make a backup before editing it.System updates will probably overwrite it, so keep a copy or (which I recommend) link your edited version to the orginal's location - assuming that your copy is named InfoPlist.strings.custom
and is in the same dir as orginal:
cd /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/English.lproj
cp InfoPlist.strings InfoPlist.strings.custom
- your custom copy
mv InfoPlist.strings InfoPlist.strings.backup
- moving orginal
open InfoPlist.strings.custom
with TextMate since it parses binary property lists nicely, assuming you got mate
installed:
mate /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/English.lproj/InfoPlist.strings.custom
once you are done with your edits, link the orginal file in place:
sudo ln -s /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/English.lproj/InfoPlist.strings.custom /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/English.lproj/InfoPlist.strings
and relaunch Finder with killall Finder
– you should see the changes in finder after that.
for example I changed "Portable Document Format (PDF)" = "Portable Document Format (PDF)";
to "Portable Document Format (PDF)" = "PDF";
and...say bye bye to annoying long "Kind" strings in Finder :-)
Before
After
NOTE: I use english as system's language – if you got any other language set, you need to change the dir's name to appropriate language:
cd /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/
German.lproj/
<- for example, let's say German
Update 1 (found out about plutil):
you can use plutil
to convert from binary format to XML or JSON
sudo plutil -convert json InfoPlist.strings -o InfoPlist.strings.json
after editing the .json, convert (compile?) it back to a binary format:
sudo plutil -convert binary1 InfoPlist.strings.json -o InfoPlist.strings
UPDATE 2
want to find out where this annoying 'Kind' strings is?
sudo find ./ -name '*.plist' -o -name '*.strings' -exec plutil -p {} \; | grep
"annoying"
where annoying
is the thing that annoys the s**t out of the day
file
.