Fixed spelling errors in comments and some strings, as well as fixed a compilation error (KPKEntry has no entry key, but does have a name field

This commit is contained in:
Maarten Terpstra
2015-10-11 11:25:36 +02:00
parent 9e2012dac9
commit c3cb8ad6a3
56 changed files with 124 additions and 124 deletions

View File

@@ -60,7 +60,7 @@
}
id<MPSettingsTab> tab = self.settingsController[identifier];
if(tab == nil){
NSLog(@"Warning. Unknow settingscontroller for identifier: %@. Did you miss to add the controller?", identifier);
NSLog(@"Warning. Unknown settingscontroller for identifier: %@. Did you miss to add the controller?", identifier);
return;
}
[self.toolbar setSelectedItemIdentifier:identifier];
@@ -112,7 +112,7 @@
}
NSString *identifier = [tabController identifier];
if(nil != self.settingsController[identifier]) {
NSLog(@"Warning: Settingscontroller with identifer %@ already present!", identifier);
NSLog(@"Warning: Settingscontroller with identifier %@ already present!", identifier);
}
else {
self.settingsController[identifier] = tabController;
@@ -165,7 +165,7 @@
item = [[NSToolbarItem alloc] initWithItemIdentifier:itemIdentifier];
/*
Setup the item to use the controllers label if one is present
and supports the appropriate @optional protocoll messages
and supports the appropriate @optional protocol messages
*/
id<MPSettingsTab> tab = self.settingsController[itemIdentifier];
if([tab respondsToSelector:@selector(label)]) {