aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-08-10 11:08:24 +0000
committerBibiko <bibiko@eva.mpg.de>2010-08-10 11:08:24 +0000
commit0ffc3f17de7204040d230f4d322b9d9fdc54a2aa (patch)
tree7895520934f25e6a077a931880e59ffed25b7b1a /Resources
parent7996d9e6f96701af2bf9e52055f6f95b81a28cad (diff)
downloadsequelpro-0ffc3f17de7204040d230f4d322b9d9fdc54a2aa.tar.gz
sequelpro-0ffc3f17de7204040d230f4d322b9d9fdc54a2aa.tar.bz2
sequelpro-0ffc3f17de7204040d230f4d322b9d9fdc54a2aa.zip
• added first implementation for spfs file Quicklook
Diffstat (limited to 'Resources')
-rw-r--r--Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html30
-rw-r--r--Resources/English.lproj/SPQLPluginConnectionBundleWindowTemplate.html17
-rw-r--r--Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html30
-rw-r--r--Resources/German.lproj/SPQLPluginConnectionBundleWindowTemplate.html17
-rw-r--r--Resources/Plists/Info.plist384
-rw-r--r--Resources/Plists/Sequel Pro QLGenerator-Info.plist1
6 files changed, 287 insertions, 192 deletions
diff --git a/Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html b/Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html
new file mode 100644
index 00000000..02e5601d
--- /dev/null
+++ b/Resources/English.lproj/SPQLPluginConnectionBundleTemplate.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<style>
+body {
+ font-family:'Lucida Grande';
+ font-size:10pt;
+}
+</style>
+</head>
+<body>
+<center>
+<table>
+<tr>
+<td valign="right">
+<img width="128" heigth="128" src="data:image/auto;base64,%@">
+</td>
+<td>
+<center>
+<b style="font-size:12pt">Sequel Pro Session File</b><br />
+(%ld connections)
+</center><br /><br />
+</td>
+</tr>
+</table>
+%@
+</center>
+</body>
+</html>
diff --git a/Resources/English.lproj/SPQLPluginConnectionBundleWindowTemplate.html b/Resources/English.lproj/SPQLPluginConnectionBundleWindowTemplate.html
new file mode 100644
index 00000000..1d5a80a2
--- /dev/null
+++ b/Resources/English.lproj/SPQLPluginConnectionBundleWindowTemplate.html
@@ -0,0 +1,17 @@
+<table>
+<tr>
+<td align="right">Server: </td><td width="200px">%@&nbsp;(%@)</td>
+</tr>
+<tr>
+<td align="right">Name: </td><td>%@%@</td>
+</tr>
+<tr>
+<td align="right">Host: </td><td>%@</td>
+</tr>
+<tr>
+<td align="right">User: </td><td>%@</td>
+</tr>
+<tr>
+<td align="right">Database: </td><td>%@</td>
+</tr>
+</table> \ No newline at end of file
diff --git a/Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html b/Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html
new file mode 100644
index 00000000..6dea8846
--- /dev/null
+++ b/Resources/German.lproj/SPQLPluginConnectionBundleTemplate.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<style>
+body {
+ font-family:'Lucida Grande';
+ font-size:10pt;
+}
+</style>
+</head>
+<body>
+<center>
+<table>
+<tr>
+<td valign="right">
+<img width="128" heigth="128" src="data:image/auto;base64,%@">
+</td>
+<td>
+<center>
+<b style="font-size:12pt">Sequel Pro Session-Datei</b><br />
+(%ld Verbindungen)
+</center><br /><br />
+</td>
+</tr>
+</table>
+%@
+</center>
+</body>
+</html>
diff --git a/Resources/German.lproj/SPQLPluginConnectionBundleWindowTemplate.html b/Resources/German.lproj/SPQLPluginConnectionBundleWindowTemplate.html
new file mode 100644
index 00000000..c5cc4c1b
--- /dev/null
+++ b/Resources/German.lproj/SPQLPluginConnectionBundleWindowTemplate.html
@@ -0,0 +1,17 @@
+<table>
+<tr>
+<td align="right">Server: </td><td width="200px">%@&nbsp;(%@)</td>
+</tr>
+<tr>
+<td align="right">Name: </td><td>%@%@</td>
+</tr>
+<tr>
+<td align="right">Host: </td><td>%@</td>
+</tr>
+<tr>
+<td align="right">Benutzer: </td><td>%@</td>
+</tr>
+<tr>
+<td align="right">Datenbank: </td><td>%@</td>
+</tr>
+</table> \ No newline at end of file
diff --git a/Resources/Plists/Info.plist b/Resources/Plists/Info.plist
index 2b7aa0a0..ef5bf3fa 100644
--- a/Resources/Plists/Info.plist
+++ b/Resources/Plists/Info.plist
@@ -1,214 +1,214 @@
<?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>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleDocumentTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>spf</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>spficon.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>Sequel Pro Connection</string>
+ <key>CFBundleTypeOSTypes</key>
+ <array>
+ <string>connection</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>NSDocumentClass</key>
+ <string>SPDocumentController</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>com.google.code.sequel-pro.spf</string>
+ </array>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>spfs</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>spficon.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>Sequel Pro Session</string>
+ <key>CFBundleTypeOSTypes</key>
+ <array>
+ <string>connections</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>NSDocumentClass</key>
+ <string>SPDocumentController</string>
+ <key>LSItemContentTypes</key>
+ <array>
+ <string>com.google.code.sequel-pro.spfs</string>
+ </array>
+ <key>LSTypeIsPackage</key>
+ <true/>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>sql</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>sqlicon.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>SQL File</string>
+ <key>CFBundleTypeOSTypes</key>
+ <array>
+ <string>sql text</string>
+ </array>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>NSDocumentClass</key>
+ <string>SPDocumentController</string>
+ </dict>
+ </array>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleHelpBookFolder</key>
+ <string>english_help</string>
+ <key>CFBundleHelpBookName</key>
+ <string>Sequel Pro Help</string>
+ <key>CFBundleIconFile</key>
+ <string>appicon.icns</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.google.code.sequel-pro</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.9.8</string>
+ <key>CFBundleVersion</key>
+ <string></string>
+ <key>FRFeedbackReporter.maxConsoleLogSize</key>
+ <integer>10000</integer>
+ <key>FRFeedbackReporter.targetURL</key>
+ <string>http://log.sequelpro.com/submit</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>10.5.0</string>
+ <key>LSMinimumSystemVersionByArchitecture</key>
<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleDocumentTypes</key>
- <array>
+ <key>i386</key>
+ <string>10.5.0</string>
+ <key>ppc</key>
+ <string>10.5.0</string>
+ <key>x86_64</key>
+ <string>10.6.0</string>
+ </dict>
+ <key>NSAppleScriptEnabled</key>
+ <true/>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright 2002-2010 Sequel Pro and CocoaMySQL team.</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>FRExceptionReportingApplication</string>
+ <key>NSServices</key>
+ <array>
+ <dict>
+ <key>NSKeyEquivalent</key>
<dict>
- <key>CFBundleTypeExtensions</key>
- <array>
- <string>spf</string>
- </array>
- <key>CFBundleTypeIconFile</key>
- <string>spficon.icns</string>
- <key>CFBundleTypeName</key>
- <string>Sequel Pro Connection</string>
- <key>CFBundleTypeOSTypes</key>
- <array>
- <string>connection</string>
- </array>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>NSDocumentClass</key>
- <string>SPDocumentController</string>
- <key>LSItemContentTypes</key>
- <array>
- <string>com.google.code.sequel-pro.spf</string>
- </array>
+ <key>default</key>
+ <string>M</string>
</dict>
+ <key>NSMenuItem</key>
<dict>
- <key>CFBundleTypeExtensions</key>
- <array>
- <string>spfs</string>
- </array>
- <key>CFBundleTypeIconFile</key>
- <string>spficon.icns</string>
- <key>CFBundleTypeName</key>
- <string>Sequel Pro Connection Bundle</string>
- <key>CFBundleTypeOSTypes</key>
- <array>
- <string>connections</string>
- </array>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>NSDocumentClass</key>
- <string>SPDocumentController</string>
- <key>LSItemContentTypes</key>
- <array>
- <string>com.google.code.sequel-pro.spfs</string>
- </array>
- <key>LSTypeIsPackage</key>
- <true/>
+ <key>default</key>
+ <string>Sequel Pro/Perform selection as MySQL query</string>
</dict>
- <dict>
- <key>CFBundleTypeExtensions</key>
- <array>
- <string>sql</string>
- </array>
- <key>CFBundleTypeIconFile</key>
- <string>sqlicon.icns</string>
- <key>CFBundleTypeName</key>
- <string>SQL File</string>
- <key>CFBundleTypeOSTypes</key>
- <array>
- <string>sql text</string>
- </array>
- <key>CFBundleTypeRole</key>
- <string>Editor</string>
- <key>NSDocumentClass</key>
- <string>SPDocumentController</string>
- </dict>
- </array>
- <key>CFBundleExecutable</key>
- <string>${EXECUTABLE_NAME}</string>
- <key>CFBundleHelpBookFolder</key>
- <string>english_help</string>
- <key>CFBundleHelpBookName</key>
- <string>Sequel Pro Help</string>
- <key>CFBundleIconFile</key>
- <string>appicon.icns</string>
- <key>CFBundleIdentifier</key>
- <string>com.google.code.sequel-pro</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>${PRODUCT_NAME}</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>0.9.8</string>
- <key>CFBundleVersion</key>
- <string></string>
- <key>FRFeedbackReporter.maxConsoleLogSize</key>
- <integer>10000</integer>
- <key>FRFeedbackReporter.targetURL</key>
- <string>http://log.sequelpro.com/submit</string>
- <key>LSMinimumSystemVersion</key>
- <string>10.5.0</string>
- <key>LSMinimumSystemVersionByArchitecture</key>
- <dict>
- <key>i386</key>
- <string>10.5.0</string>
- <key>ppc</key>
- <string>10.5.0</string>
- <key>x86_64</key>
- <string>10.6.0</string>
+ <key>NSMessage</key>
+ <string>doPerformQueryService</string>
+ <key>NSPortName</key>
+ <string>Sequel Pro</string>
+ <key>NSSendTypes</key>
+ <array>
+ <string>NSStringPboardType</string>
+ <string>NSURLPboardType</string>
+ </array>
</dict>
- <key>NSAppleScriptEnabled</key>
- <true/>
- <key>NSHumanReadableCopyright</key>
- <string>Copyright 2002-2010 Sequel Pro and CocoaMySQL team.</string>
- <key>NSMainNibFile</key>
- <string>MainMenu</string>
- <key>NSPrincipalClass</key>
- <string>FRExceptionReportingApplication</string>
- <key>NSServices</key>
- <array>
- <dict>
- <key>NSKeyEquivalent</key>
- <dict>
- <key>default</key>
- <string>M</string>
- </dict>
- <key>NSMenuItem</key>
- <dict>
- <key>default</key>
- <string>Sequel Pro/Perform selection as MySQL query</string>
- </dict>
- <key>NSMessage</key>
- <string>doPerformQueryService</string>
- <key>NSPortName</key>
- <string>Sequel Pro</string>
- <key>NSSendTypes</key>
- <array>
- <string>NSStringPboardType</string>
- <string>NSURLPboardType</string>
- </array>
- </dict>
- </array>
- <key>SUEnableSystemProfiling</key>
- <true/>
- <key>SUFeedURL</key>
- <string>http://www.sequelpro.com/appcast/app-releases.xml</string>
- <key>SUPublicDSAKeyFile</key>
- <string>sparkle-public-key.pem</string>
- <key>UTExportedTypeDeclarations</key>
- <array>
+ </array>
+ <key>SUEnableSystemProfiling</key>
+ <true/>
+ <key>SUFeedURL</key>
+ <string>http://www.sequelpro.com/appcast/app-releases.xml</string>
+ <key>SUPublicDSAKeyFile</key>
+ <string>sparkle-public-key.pem</string>
+ <key>UTExportedTypeDeclarations</key>
+ <array>
+ <dict>
+ <key>UTTypeDescription</key>
+ <string>Sequel Pro Connection</string>
+ <key>UTTypeIconFile</key>
+ <string></string>
+ <key>UTTypeIdentifier</key>
+ <string>com.google.code.sequel-pro.spf</string>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.plain-text</string>
+ </array>
+ <key>UTTypeTagSpecification</key>
<dict>
- <key>UTTypeDescription</key>
- <string>Sequel Pro Connection</string>
- <key>UTTypeIconFile</key>
- <string></string>
- <key>UTTypeIdentifier</key>
- <string>com.google.code.sequel-pro.spf</string>
- <key>UTTypeConformsTo</key>
+ <key>com.apple.ostype</key>
+ <string>connection</string>
+ <key>public.filename-extension</key>
<array>
- <string>public.plain-text</string>
+ <string>spf</string>
</array>
- <key>UTTypeTagSpecification</key>
- <dict>
- <key>com.apple.ostype</key>
- <string>connection</string>
- <key>public.filename-extension</key>
- <array>
- <string>spf</string>
- </array>
- </dict>
</dict>
+ </dict>
+ <dict>
+ <key>UTTypeDescription</key>
+ <string>Sequel Pro Session</string>
+ <key>UTTypeIconFile</key>
+ <string></string>
+ <key>UTTypeIdentifier</key>
+ <string>com.google.code.sequel-pro.spfs</string>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>com.apple.package</string>
+ </array>
+ <key>UTTypeTagSpecification</key>
<dict>
- <key>UTTypeDescription</key>
- <string>Sequel Pro Connection Bundle</string>
- <key>UTTypeIconFile</key>
- <string></string>
- <key>UTTypeIdentifier</key>
- <string>com.google.code.sequel-pro.spfs</string>
- <key>UTTypeConformsTo</key>
+ <key>com.apple.ostype</key>
+ <string>connections</string>
+ <key>public.filename-extension</key>
<array>
- <string>com.apple.package</string>
+ <string>spfs</string>
</array>
- <key>UTTypeTagSpecification</key>
- <dict>
- <key>com.apple.ostype</key>
- <string>connections</string>
- <key>public.filename-extension</key>
- <array>
- <string>spfs</string>
- </array>
- </dict>
</dict>
+ </dict>
+ <dict>
+ <key>UTTypeDescription</key>
+ <string>SQL File</string>
+ <key>UTTypeIconFile</key>
+ <string></string>
+ <key>UTTypeIdentifier</key>
+ <string>com.google.code.sequel-pro.sql</string>
+ <key>UTTypeConformsTo</key>
+ <array>
+ <string>public.plain-text</string>
+ </array>
+ <key>UTTypeTagSpecification</key>
<dict>
- <key>UTTypeDescription</key>
- <string>SQL File</string>
- <key>UTTypeIconFile</key>
- <string></string>
- <key>UTTypeIdentifier</key>
- <string>com.google.code.sequel-pro.sql</string>
- <key>UTTypeConformsTo</key>
+ <key>com.apple.ostype</key>
+ <string>sql text</string>
+ <key>public.filename-extension</key>
<array>
- <string>public.plain-text</string>
+ <string>sql</string>
</array>
- <key>UTTypeTagSpecification</key>
- <dict>
- <key>com.apple.ostype</key>
- <string>sql text</string>
- <key>public.filename-extension</key>
- <array>
- <string>sql</string>
- </array>
- </dict>
</dict>
- </array>
- </dict>
+ </dict>
+ </array>
+</dict>
</plist>
diff --git a/Resources/Plists/Sequel Pro QLGenerator-Info.plist b/Resources/Plists/Sequel Pro QLGenerator-Info.plist
index aca09b59..59418aad 100644
--- a/Resources/Plists/Sequel Pro QLGenerator-Info.plist
+++ b/Resources/Plists/Sequel Pro QLGenerator-Info.plist
@@ -13,6 +13,7 @@
<array>
<string>com.google.code.sequel-pro.spf</string>
<string>com.google.code.sequel-pro.sql</string>
+ <string>com.google.code.sequel-pro.spfs</string>
</array>
</dict>
</array>