aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2016-07-10 01:11:47 +0200
committerMax <post@wickenrode.com>2016-07-10 01:11:47 +0200
commite155d94a911e4acf45d36d931299b1cb34cac41d (patch)
tree2f69dbee8a92fdabe4cb3b55b940f321e51a2875
parentc1a6244330d6c5643e5932bc592f379ed5fa1455 (diff)
downloadsequelpro-e155d94a911e4acf45d36d931299b1cb34cac41d.tar.gz
sequelpro-e155d94a911e4acf45d36d931299b1cb34cac41d.tar.bz2
sequelpro-e155d94a911e4acf45d36d931299b1cb34cac41d.zip
Fix a spelling mistake (code)
-rw-r--r--Interfaces/English.lproj/ContentFilterManager.xib4
-rw-r--r--Source/SPContentFilterManager.h4
-rw-r--r--Source/SPContentFilterManager.m4
3 files changed, 6 insertions, 6 deletions
diff --git a/Interfaces/English.lproj/ContentFilterManager.xib b/Interfaces/English.lproj/ContentFilterManager.xib
index 354a5df3..a3e3439e 100644
--- a/Interfaces/English.lproj/ContentFilterManager.xib
+++ b/Interfaces/English.lproj/ContentFilterManager.xib
@@ -20,7 +20,7 @@
<outlet property="removeButton" destination="387" id="389"/>
<outlet property="resultingClauseContentLabel" destination="352" id="363"/>
<outlet property="resultingClauseLabel" destination="361" id="364"/>
- <outlet property="suppressLeadingFiledPlaceholderCheckbox" destination="369" id="377"/>
+ <outlet property="suppressLeadingFieldPlaceholderCheckbox" destination="369" id="gfj-J2-MZl"/>
<outlet property="window" destination="1" id="310"/>
</connections>
</customObject>
@@ -189,7 +189,7 @@ Gw
<font key="font" metaFont="miniSystem"/>
</buttonCell>
<connections>
- <action selector="suppressLeadingFiledPlaceholderWasChanged:" target="-2" id="378"/>
+ <action selector="suppressLeadingFieldPlaceholderWasChanged:" target="-2" id="qgF-WQ-540"/>
<binding destination="284" name="value" keyPath="selection.SuppressLeadingFieldPlaceholder" id="379">
<dictionary key="options">
<integer key="NSNullPlaceholder" value="0"/>
diff --git a/Source/SPContentFilterManager.h b/Source/SPContentFilterManager.h
index e89ac8ec..96e864ed 100644
--- a/Source/SPContentFilterManager.h
+++ b/Source/SPContentFilterManager.h
@@ -60,7 +60,7 @@
IBOutlet id resultingClauseLabel;
IBOutlet id resultingClauseContentLabel;
IBOutlet id insertPlaceholderButton;
- IBOutlet NSButton *suppressLeadingFiledPlaceholderCheckbox;
+ IBOutlet NSButton *suppressLeadingFieldPlaceholderCheckbox;
IBOutlet id contentFilterArrayController;
@@ -85,6 +85,6 @@
- (IBAction)exportContentFilter:(id)sender;
- (IBAction)importContentFilterByAdding:(id)sender;
- (IBAction)closeContentFilterManagerSheet:(id)sender;
-- (IBAction)suppressLeadingFiledPlaceholderWasChanged:(id)sender;
+- (IBAction)suppressLeadingFieldPlaceholderWasChanged:(id)sender;
@end
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m
index 9ba9c0a0..fe20bcf1 100644
--- a/Source/SPContentFilterManager.m
+++ b/Source/SPContentFilterManager.m
@@ -418,7 +418,7 @@ static NSString *SPExportFilterAction = @"SPExportFilter";
* It triggers an update of contentFilterTextView and
* resultingClauseContentLabel by inserting @"" into contentFilterTextView
*/
-- (IBAction)suppressLeadingFiledPlaceholderWasChanged:(id)sender
+- (IBAction)suppressLeadingFieldPlaceholderWasChanged:(id)sender
{
[contentFilterTextView insertText:@""];
}
@@ -761,7 +761,7 @@ static NSString *SPExportFilterAction = @"SPExportFilter";
[c flushCachedRegexData];
[c replaceOccurrencesOfRegex:@"(?<!\\\\)\\$CURRENT_FIELD" withString:@"<field>"];
[c flushCachedRegexData];
- [resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFiledPlaceholderCheckbox state] == NSOnState) ? @"" : @"<field> ", c]];
+ [resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFieldPlaceholderCheckbox state] == NSOnState) ? @"" : @"<field> ", c]];
[c release];
}