aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-27 13:26:47 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-27 13:26:47 +0000
commit2183eeefefb81846c2cc2c6b4bf68b12167f2b24 (patch)
treededc18dc550106e3d889c26fe263b3319f896c06 /Resources
parent572b761e971c732585ef5f0fcf852e1842d44e31 (diff)
downloadsequelpro-2183eeefefb81846c2cc2c6b4bf68b12167f2b24.tar.gz
sequelpro-2183eeefefb81846c2cc2c6b4bf68b12167f2b24.tar.bz2
sequelpro-2183eeefefb81846c2cc2c6b4bf68b12167f2b24.zip
• marked 'sequel-pro-print-template.html' as localizable
• outsourced default QuickLook types into a localizable plist - prepared SP preferences and SP code to allow the user to add own QL types • prepared a localizable 'ContentFilter.plist' [not yet implemented fully] - this plist will held the default filter operators - this approach will give the user the chance to add own filters • removed three tiny memory leaks Note: In MCPResult.m variable 'MCPYear0000' was stored retained. Why? I removed it and couldn't encounter any problems.
Diffstat (limited to 'Resources')
-rw-r--r--Resources/English.lproj/ContentFilters.plist7
-rw-r--r--Resources/English.lproj/EditorQuickLookTypes.plist89
-rw-r--r--Resources/English.lproj/sequel-pro-print-template.html (renamed from Resources/sequel-pro-print-template.html)0
-rw-r--r--Resources/PreferenceDefaults.plist85
4 files changed, 99 insertions, 82 deletions
diff --git a/Resources/English.lproj/ContentFilters.plist b/Resources/English.lproj/ContentFilters.plist
new file mode 100644
index 00000000..4768f16b
--- /dev/null
+++ b/Resources/English.lproj/ContentFilters.plist
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+
+ </dict>
+</plist>
diff --git a/Resources/English.lproj/EditorQuickLookTypes.plist b/Resources/English.lproj/EditorQuickLookTypes.plist
new file mode 100644
index 00000000..011124b8
--- /dev/null
+++ b/Resources/English.lproj/EditorQuickLookTypes.plist
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>QuickLookTypes</key>
+ <array>
+ <dict>
+ <key>MenuLabel</key>
+ <string>Image</string>
+ <key>Extension</key>
+ <string>icns</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>Sound (m4a)</string>
+ <key>Extension</key>
+ <string>m4a</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>Sound (mp3)</string>
+ <key>Extension</key>
+ <string>mp3</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>Sound (linear)</string>
+ <key>Extension</key>
+ <string>wav</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>Movie (mov)</string>
+ <key>Extension</key>
+ <string>mov</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>PDF</string>
+ <key>Extension</key>
+ <string>pdf</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>HTML</string>
+ <key>Extension</key>
+ <string>html</string>
+ <key>treatAsText</key>
+ <true/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>Word Document</string>
+ <key>Extension</key>
+ <string>doc</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>Word Document (xml)</string>
+ <key>Extension</key>
+ <string>docx</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ <dict>
+ <key>MenuLabel</key>
+ <string>RTF</string>
+ <key>Extension</key>
+ <string>rtf</string>
+ <key>treatAsText</key>
+ <false/>
+ </dict>
+ </array>
+ </dict>
+</plist>
diff --git a/Resources/sequel-pro-print-template.html b/Resources/English.lproj/sequel-pro-print-template.html
index 9dd2f624..9dd2f624 100644
--- a/Resources/sequel-pro-print-template.html
+++ b/Resources/English.lproj/sequel-pro-print-template.html
diff --git a/Resources/PreferenceDefaults.plist b/Resources/PreferenceDefaults.plist
index 825a093d..33964fbb 100644
--- a/Resources/PreferenceDefaults.plist
+++ b/Resources/PreferenceDefaults.plist
@@ -107,87 +107,8 @@
<key>PrintImagePreviews</key>
<true/>
<key>QuickLookTypes</key>
- <array>
- <dict>
- <key>MenuLabel</key>
- <string>Image</string>
- <key>Extension</key>
- <string>icns</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>Sound (m4a)</string>
- <key>Extension</key>
- <string>m4a</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>Sound (mp3)</string>
- <key>Extension</key>
- <string>mp3</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>Sound (linear)</string>
- <key>Extension</key>
- <string>wav</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>Movie (mov)</string>
- <key>Extension</key>
- <string>mov</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>PDF</string>
- <key>Extension</key>
- <string>pdf</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>HTML</string>
- <key>Extension</key>
- <string>html</string>
- <key>treatAsText</key>
- <true/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>Word Document</string>
- <key>Extension</key>
- <string>doc</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>Word Document (xml)</string>
- <key>Extension</key>
- <string>docx</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- <dict>
- <key>MenuLabel</key>
- <string>RTF</string>
- <key>Extension</key>
- <string>rtf</string>
- <key>treatAsText</key>
- <false/>
- </dict>
- </array>
+ <array/>
+ <key>ContentFilters</key>
+ <array/>
</dict>
</plist>