aboutsummaryrefslogtreecommitdiffstats
path: root/Resources
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-09-28 15:40:26 +0000
committerBibiko <bibiko@eva.mpg.de>2009-09-28 15:40:26 +0000
commita35320cccdf35ed167c65000f76f2cb4127e55ea (patch)
tree8e979e8f6c547b3511c29004c39fb1f3a0c5d46e /Resources
parente924e2ece4512233fa5ad020fecce25307c715a2 (diff)
downloadsequelpro-a35320cccdf35ed167c65000f76f2cb4127e55ea.tar.gz
sequelpro-a35320cccdf35ed167c65000f76f2cb4127e55ea.tar.bz2
sequelpro-a35320cccdf35ed167c65000f76f2cb4127e55ea.zip
• fixed an issue of double-loading user-defined filters
• introduce a new placeholder $BINARY to the filter definition - if user presses ⇧ while invoking the table filter and a filter had defined that placeholder the search will be case-sensitive; otherwise the placeholder $BINARY will be simply removed to search case-insensitive - added tooltip for these string filters in ContentFilters.plist
Diffstat (limited to 'Resources')
-rw-r--r--Resources/English.lproj/ContentFilters.plist32
1 files changed, 23 insertions, 9 deletions
diff --git a/Resources/English.lproj/ContentFilters.plist b/Resources/English.lproj/ContentFilters.plist
index 7ee9e8b1..5d79edc0 100644
--- a/Resources/English.lproj/ContentFilters.plist
+++ b/Resources/English.lproj/ContentFilters.plist
@@ -105,7 +105,9 @@
<key>NumberOfArguments</key>
<integer>1</integer>
<key>Clause</key>
- <string>LIKE '${}'</string>
+ <string>LIKE $BINARY '${}'</string>
+ <key>Tooltip</key>
+ <string>Press ⇧ for case-sensitive search.</string>
</dict>
<dict>
<key>MenuLabel</key>
@@ -113,7 +115,9 @@
<key>NumberOfArguments</key>
<integer>1</integer>
<key>Clause</key>
- <string>NOT LIKE '${}'</string>
+ <string>NOT LIKE $BINARY '${}'</string>
+ <key>Tooltip</key>
+ <string>Press ⇧ for case-sensitive search.</string>
</dict>
<dict>
<key>MenuLabel</key>
@@ -121,7 +125,9 @@
<key>NumberOfArguments</key>
<integer>1</integer>
<key>Clause</key>
- <string>LIKE '%${}%'</string>
+ <string>LIKE $BINARY '%${}%'</string>
+ <key>Tooltip</key>
+ <string>Press ⇧ for case-sensitive search.</string>
</dict>
<dict>
<key>MenuLabel</key>
@@ -129,7 +135,9 @@
<key>NumberOfArguments</key>
<integer>1</integer>
<key>Clause</key>
- <string>NOT LIKE '%${}%'</string>
+ <string>NOT LIKE $BINARY '%${}%'</string>
+ <key>Tooltip</key>
+ <string>Press ⇧ for case-sensitive search.</string>
</dict>
<dict>
<key>MenuLabel</key>
@@ -137,7 +145,9 @@
<key>NumberOfArguments</key>
<integer>1</integer>
<key>Clause</key>
- <string>LIKE '${}'</string>
+ <string>LIKE $BINARY '${}'</string>
+ <key>Tooltip</key>
+ <string>Press ⇧ for case-sensitive search.</string>
</dict>
<dict>
<key>MenuLabel</key>
@@ -145,7 +155,9 @@
<key>NumberOfArguments</key>
<integer>1</integer>
<key>Clause</key>
- <string>NOT LIKE '${}'</string>
+ <string>NOT LIKE $BINARY '${}'</string>
+ <key>Tooltip</key>
+ <string>Press ⇧ for case-sensitive search.</string>
</dict>
<dict>
<key>MenuLabel</key>
@@ -167,7 +179,9 @@
<string>AND</string>
</array>
<key>Clause</key>
- <string>BETWEEN '${}' AND '${}'</string>
+ <string>BETWEEN $BINARY '${}' AND '${}'</string>
+ <key>Tooltip</key>
+ <string>Press ⇧ for case-sensitive search.</string>
</dict>
<dict>
<key>MenuLabel</key>
@@ -187,7 +201,7 @@
</dict>
<dict>
<key>MenuLabel</key>
- <string>IS EMPTY</string>
+ <string>is empty</string>
<key>NumberOfArguments</key>
<integer>0</integer>
<key>Clause</key>
@@ -195,7 +209,7 @@
</dict>
<dict>
<key>MenuLabel</key>
- <string>IS NOT EMPTY</string>
+ <string>is not empty</string>
<key>NumberOfArguments</key>
<integer>0</integer>
<key>Clause</key>