spell check with codespell

This commit is contained in:
stephanebill
2024-11-20 16:53:40 -05:00
parent c4559c39c3
commit 4f2afa8c47
162 changed files with 250 additions and 250 deletions

View File

@@ -126,7 +126,7 @@
@end
#pragma mark Mutable deep copy for dicionary, array and set
#pragma mark Mutable deep copy for dictionary, array and set
@implementation NSDictionary (TSXAdditions)

View File

@@ -234,7 +234,7 @@
EditSelectionTableViewCell *selCell = (EditSelectionTableViewCell *)cell;
[[selCell label]
setText:NSLocalizedString(@"Security",
@"'Security': Bookmark protocl security settings")];
@"'Security': Bookmark protocol security settings")];
[[selCell selection]
setText:ProtocolSecurityDescription([_params intForKey:@"security"])];
break;

View File

@@ -14,7 +14,7 @@
@implementation AppSettingsController
// keep this up-to-date for correct section display/hidding
// keep this up-to-date for correct section display/hiding
#define SECTION_UI_SETTINGS 0
#define SECTION_CERTIFICATE_HANDLING_SETTINGS 1
#define SECTION_NUM_SECTIONS 2

View File

@@ -15,7 +15,7 @@
@class ConnectionParams;
@protocol BookmarkEditorDelegate <NSObject>
// bookmark editing finsihed
// bookmark editing finished
- (void)commitBookmark:(ComputerBookmark *)bookmark;
@end

View File

@@ -419,7 +419,7 @@
}
}
// prevent that an item is moved befoer the Add Bookmark item
// prevent that an item is moved before the Add Bookmark item
- (NSIndexPath *)tableView:(UITableView *)tableView
targetIndexPathForMoveFromRowAtIndexPath:(NSIndexPath *)sourceIndexPath
toProposedIndexPath:(NSIndexPath *)proposedDestinationIndexPath
@@ -796,7 +796,7 @@
- (UIButton *)disclosureButtonWithImage:(UIImage *)image
{
// we make the button a little bit bigger (image widht * 2, height + 10) so that the user
// we make the button a little bit bigger (image width * 2, height + 10) so that the user
// doesn't accidentally connect to the bookmark ...
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
[button setFrame:CGRectMake(0, 0, [image size].width * 2, [image size].height + 10)];

View File

@@ -38,7 +38,7 @@ extern NSString *TableCellIdentifierButton;
// returns one of the requested table view cells
- (UITableViewCell *)tableViewCellFromIdentifier:(NSString *)identifier;
// Adjust text input cells label/textfield widht according to the label's text size
// Adjust text input cells label/textfield width according to the label's text size
- (void)adjustEditTextTableViewCell:(EditTextTableViewCell *)cell;
@end

View File

@@ -68,7 +68,7 @@ static EncryptionController *_shared_encryption_controller = nil;
return _shared_encryptor;
}
// For the current implementation, decryptors and encryptors are equivilant.
// For the current implementation, decryptors and encryptors are equivalent.
- (Encryptor *)decryptor
{
return [self encryptor];

View File

@@ -139,7 +139,7 @@
}
[[self navigationController] setNavigationBarHidden:YES animated:animated];
// if sesssion is suspended - notify that we got a new bitmap context
// if session is suspended - notify that we got a new bitmap context
if ([_session isSuspended])
[self sessionBitmapContextWillChange:_session];

View File

@@ -19,7 +19,7 @@
NSString *_keyPath;
ConnectionParams *_params;
// avaiable options
// available options
OrderedDictionary *_color_options;
NSArray *_resolution_modes;

View File

@@ -158,7 +158,7 @@
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
// custom widht/height cells are not selectable
// custom width/height cells are not selectable
if ([indexPath section] == 1 && [indexPath row] >= [_resolution_modes count])
return;

View File

@@ -423,7 +423,7 @@ void ios_uninit_freerdp()
{
}
/* compatibilty functions */
/* compatibility functions */
size_t fwrite$UNIX2003(const void *ptr, size_t size, size_t nmemb, FILE *stream)
{
return fwrite(ptr, size, nmemb, stream);

View File

@@ -86,7 +86,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
@"info was wrong class in ReachabilityCallback");
// We're on the main RunLoop, so an NSAutoreleasePool is not necessary, but is added defensively
// in case someon uses the Reachablity object in a different thread.
// in case someone uses the Reachablity object in a different thread.
NSAutoreleasePool *myPool = [[NSAutoreleasePool alloc] init];
Reachability *noteObject = (Reachability *)info;

View File

@@ -130,7 +130,7 @@ NSArray *ResolutionModes()
NSString *LocalizedAutomaticSecurity()
{
return NSLocalizedString(@"Automatic", @"Automatic protocl security selection");
return NSLocalizedString(@"Automatic", @"Automatic protocol security selection");
}
NSString *ProtocolSecurityDescription(TSXProtocolSecurityOptions type)

View File

@@ -235,7 +235,7 @@
- (void)handleAlphaNumChar:(int)character
{
// if we recive an uppercase letter - make it lower and send an shift down event to server
// if we receive an uppercase letter - make it lower and send an shift down event to server
BOOL shift_was_sent = NO;
if (isupper(character) && _shift_pressed == NO)
{

View File

@@ -100,7 +100,7 @@ extern NSString *TSXSessionDidFailToConnectNotification;
// get a small session screenshot
- (UIImage *)getScreenshotWithSize:(CGSize)size;
// returns the session's current paramters
// returns the session's current parameters
- (rdpSettings *)getSessionParams;
// returns the session's name (usually the label of the bookmark the session was created with)

View File

@@ -294,7 +294,7 @@ out_free:
- (void)connect
{
// Set Screen Size to automatic if widht or height are still 0
// Set Screen Size to automatic if width or height are still 0
rdpSettings *settings = _freerdp->context->settings;
if (freerdp_settings_get_uint32(settings, FreeRDP_DesktopWidth) == 0 ||

View File

@@ -28,7 +28,7 @@
/* Advanced Settings title */
"Advanced Settings" = "Advanced Settings";
/* Automatic protocl security selection
/* Automatic protocol security selection
Screen resolution selector: Automatic resolution (full screen on iPad, reasonable size on iPhone) */
"Automatic" = "Automatic";
@@ -205,7 +205,7 @@
/* 'Screen': Bookmark Screen settings */
"Screen" = "Screen";
/* 'Security': Bookmark protocl security settings */
/* 'Security': Bookmark protocol security settings */
"Security" = "Security";
/* Server Certificate Handling section title */

View File

@@ -279,7 +279,7 @@ static UIFont *buttonFont = nil;
}
else if (_blocks.count == 1)
{
// In this case this is the ony button. We'll size according to the text
// In this case this is the only button. We'll size according to the text
CGSize size = [title sizeWithFont:buttonFont
minFontSize:10
actualFontSize:nil