summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Base.lproj/Subtitles.xib2
-rw-r--r--macosx/HBAudio.m2
-rw-r--r--macosx/HBAudioTransformers.h4
-rw-r--r--macosx/HBAudioTransformers.m2
-rw-r--r--macosx/HBController.m4
-rw-r--r--macosx/HBCore.h2
-rw-r--r--macosx/HBCore.m2
-rw-r--r--macosx/HBLanguagesSelection.m2
-rw-r--r--macosx/HBOutputFileWriter.m2
-rw-r--r--macosx/HBOutputPanelController.m2
-rw-r--r--macosx/HBPreferencesController.m2
-rw-r--r--macosx/HBPresetsViewController.m2
-rw-r--r--macosx/HBPreviewGenerator.h2
-rw-r--r--macosx/HBPreviewGenerator.m2
-rw-r--r--macosx/HBPreviewView.m4
-rw-r--r--macosx/HBQueue.m2
-rw-r--r--macosx/HBQueueController.m2
-rw-r--r--macosx/HBRange+UIAdditions.h2
-rw-r--r--macosx/HBSubtitles.m2
-rw-r--r--macosx/HBSubtitlesTrack.h4
-rw-r--r--macosx/HBSubtitlesTrack.m4
-rw-r--r--macosx/HBSummaryViewController.m2
-rw-r--r--macosx/HBVideo+UIAdditions.h2
-rw-r--r--macosx/HBVideo+UIAdditions.m2
24 files changed, 29 insertions, 29 deletions
diff --git a/macosx/Base.lproj/Subtitles.xib b/macosx/Base.lproj/Subtitles.xib
index 9b76c25c7..0f2e34a26 100644
--- a/macosx/Base.lproj/Subtitles.xib
+++ b/macosx/Base.lproj/Subtitles.xib
@@ -301,7 +301,7 @@
<binding destination="4bh-my-GeM" name="enabled" keyPath="objectValue.isExternal" id="cQ5-cT-bqm"/>
<binding destination="4bh-my-GeM" name="selectedValue" keyPath="objectValue.isoLanguage" previousBinding="OIo-fF-3vU" id="Ubv-kn-nf5">
<dictionary key="options">
- <string key="NSValueTransformerName">HBIsoLanguageTrasformer</string>
+ <string key="NSValueTransformerName">HBIsoLanguageTransformer</string>
</dictionary>
</binding>
<binding destination="4bh-my-GeM" name="content" keyPath="objectValue.languages" id="OIo-fF-3vU"/>
diff --git a/macosx/HBAudio.m b/macosx/HBAudio.m
index 73a27d150..231b7bc2e 100644
--- a/macosx/HBAudio.m
+++ b/macosx/HBAudio.m
@@ -100,7 +100,7 @@ NSString *HBAudioEncoderChangedNotification = @"HBAudioEncoderChangedNotificatio
{
[self removeTracksAtIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, self.tracks.count)]];
- // Add the remainings tracks
+ // Add the remaining tracks
for (NSUInteger idx = 1; idx < self.sourceTracksArray.count; idx++) {
[self addTrack:[self trackFromSourceTrackIndex:idx]];
}
diff --git a/macosx/HBAudioTransformers.h b/macosx/HBAudioTransformers.h
index 2b3edc9a7..2a74cbbd0 100644
--- a/macosx/HBAudioTransformers.h
+++ b/macosx/HBAudioTransformers.h
@@ -7,8 +7,8 @@
#import <Foundation/Foundation.h>
/**
- * A series of value trasformers to bridge the libhb enums
- * to the textual rapresentations used in the interface.
+ * A series of value transformers to bridge the libhb enums
+ * to the textual representations used in the interface.
*/
@interface HBFallbackEncodersTransformer : NSValueTransformer
@end
diff --git a/macosx/HBAudioTransformers.m b/macosx/HBAudioTransformers.m
index 42d9abccc..6be68d7e3 100644
--- a/macosx/HBAudioTransformers.m
+++ b/macosx/HBAudioTransformers.m
@@ -8,7 +8,7 @@
#import "HBLocalizationUtilities.h"
#include "hb.h"
-#pragma mark - Value Trasformers
+#pragma mark - Value Transformers
@implementation HBFallbackEncodersTransformer
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 8b0e9f95c..c2a4716f0 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -273,7 +273,7 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext;
fFiltersViewController = [[HBFiltersViewController alloc] init];
[fFiltersTab setView:[fFiltersViewController view]];
- // Add the observeers
+ // Add the observers
[self.core addObserver:self forKeyPath:@"state"
options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionInitial
@@ -637,7 +637,7 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext;
// Check if we can scan the source and if there is any warning.
BOOL canScan = [self.core canScan:mediaURL error:&outError];
- // Notify the user that we don't support removal of copy proteciton.
+ // Notify the user that we don't support removal of copy protection.
if (canScan && [outError code] == 101 && !self.suppressCopyProtectionWarning)
{
self.suppressCopyProtectionWarning = YES;
diff --git a/macosx/HBCore.h b/macosx/HBCore.h
index 6f8750ab5..77e507f4e 100644
--- a/macosx/HBCore.h
+++ b/macosx/HBCore.h
@@ -139,7 +139,7 @@ typedef void (^HBCoreCompletionHandler)(HBCoreResult result);
@property (nonatomic, copy) NSString *name;
/**
- * Determines whether the scan operation can scan a particural URL or whether an additional decryption lib is needed.
+ * Determines whether the scan operation can scan a particular URL or whether an additional decryption lib is needed.
*
* @param url the URL of the input file.
* @param error an error containing additional info.
diff --git a/macosx/HBCore.m b/macosx/HBCore.m
index 8a5c91230..353092830 100644
--- a/macosx/HBCore.m
+++ b/macosx/HBCore.m
@@ -453,7 +453,7 @@ typedef void (^HBCoreCleanupHandler)(void);
{
[self stopProgressReporting];
- // HB_STATE_WORKDONE happpens as a result of libhb finishing all its jobs
+ // HB_STATE_WORKDONE happens as a result of libhb finishing all its jobs
// or someone calling hb_stop. In the latter case, hb_stop does not clear
// out the remaining passes/jobs in the queue. We'll do that here.
hb_job_t *job;
diff --git a/macosx/HBLanguagesSelection.m b/macosx/HBLanguagesSelection.m
index ba79e28bb..566d8266e 100644
--- a/macosx/HBLanguagesSelection.m
+++ b/macosx/HBLanguagesSelection.m
@@ -245,7 +245,7 @@ NSString *kHBLanguagesDragRowsType = @"kHBLanguagesDragRowsType";
NSUInteger i = [indexSet countOfIndexesInRange:NSMakeRange(0, row)];
- // Rearrage the objects.
+ // Rearrange the objects.
[self moveObjectsInArrangedObjectsFromIndexes:indexSet toIndex:row];
// Update the selection.
diff --git a/macosx/HBOutputFileWriter.m b/macosx/HBOutputFileWriter.m
index cbd4e9977..8534308c9 100644
--- a/macosx/HBOutputFileWriter.m
+++ b/macosx/HBOutputFileWriter.m
@@ -26,7 +26,7 @@
error:&error];
if (!result)
{
- [HBUtilities writeToActivityLog:"Error: coudln't open activity log file, %@", error];
+ [HBUtilities writeToActivityLog:"Error: couldn't open activity log file, %@", error];
return nil;
}
diff --git a/macosx/HBOutputPanelController.m b/macosx/HBOutputPanelController.m
index 83b5b2268..3ea4d776f 100644
--- a/macosx/HBOutputPanelController.m
+++ b/macosx/HBOutputPanelController.m
@@ -45,7 +45,7 @@
{
/* NSWindowController likes to lazily load its window nib. Since this
* controller tries to touch the outlets before accessing the window, we
- * need to force it to load immadiately by invoking its accessor.
+ * need to force it to load immediately by invoking its accessor.
*
* If/when we switch to using bindings, this can probably go away.
*/
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m
index b75222386..12084e266 100644
--- a/macosx/HBPreferencesController.m
+++ b/macosx/HBPreferencesController.m
@@ -100,7 +100,7 @@ NSString * const HBQueueAutoClearCompletedItems = @"HBQueueAutoClearCompletedIt
}];
// Overwrite the update check interval because previous versions
- // could be set to a dayly check.
+ // could be set to a daily check.
NSUInteger week = 60 * 60 * 24 * 7;
[[NSUserDefaults standardUserDefaults] setObject:@(week) forKey:@"SUScheduledCheckInterval"];
}
diff --git a/macosx/HBPresetsViewController.m b/macosx/HBPresetsViewController.m
index 5e1411cd1..bf49c91cf 100644
--- a/macosx/HBPresetsViewController.m
+++ b/macosx/HBPresetsViewController.m
@@ -484,7 +484,7 @@ static void *HBPresetsViewControllerContext = &HBPresetsViewControllerContext;
else
{
// drop at the top root level
- if (index == -1) // drop area might be ambibuous (not at a particular location)
+ if (index == -1) // drop area might be ambiguous (not at a particular location)
indexPath = [NSIndexPath indexPathWithIndex:self.presets.root.children.count]; // drop at the end of the top level
else
indexPath = [NSIndexPath indexPathWithIndex:index]; // drop at a particular place at the top level
diff --git a/macosx/HBPreviewGenerator.h b/macosx/HBPreviewGenerator.h
index 617ad32f3..49e994a57 100644
--- a/macosx/HBPreviewGenerator.h
+++ b/macosx/HBPreviewGenerator.h
@@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)initWithCore:(HBCore *)core job:(HBJob *)job NS_DESIGNATED_INITIALIZER;
/**
- * Wait until all the asyncronous operations are done.
+ * Wait until all the asynchronous operations are done.
*/
- (void)invalidate;
diff --git a/macosx/HBPreviewGenerator.m b/macosx/HBPreviewGenerator.m
index 93dab7ddd..0ea12d806 100644
--- a/macosx/HBPreviewGenerator.m
+++ b/macosx/HBPreviewGenerator.m
@@ -136,7 +136,7 @@
// they are needed.
[self purgeImageCache];
- // Enquee the reload call on the main runloop
+ // Enqueue the reload call on the main runloop
// to avoid reloading the same image multiple times.
if (self.reloadInQueue == NO)
{
diff --git a/macosx/HBPreviewView.m b/macosx/HBPreviewView.m
index 8c3bd9209..d906777c9 100644
--- a/macosx/HBPreviewView.m
+++ b/macosx/HBPreviewView.m
@@ -172,7 +172,7 @@
backingScaleFactor = self.window.backingScaleFactor;
}
// HiDPI mode usually display everything
- // with douple pixel count, but we don't
+ // with double pixel count, but we don't
// want to double the size of the video
NSSize imageScaledSize = NSMakeSize(imageSize.width / backingScaleFactor, imageSize.height / backingScaleFactor);
NSSize frameSize = self.frame.size;
@@ -241,7 +241,7 @@
if (self.window.backingScaleFactor != 1.0)
{
// HiDPI mode usually display everything
- // with douple pixel count, but we don't
+ // with double pixel count, but we don't
// want to double the size of the video
imageSize.height /= self.window.backingScaleFactor;
imageSize.width /= self.window.backingScaleFactor;
diff --git a/macosx/HBQueue.m b/macosx/HBQueue.m
index 3f57e72ec..498905f17 100644
--- a/macosx/HBQueue.m
+++ b/macosx/HBQueue.m
@@ -325,7 +325,7 @@ NSString * const HBQueueItemNotificationItemKey = @"HBQueueItemNotificationItemK
{
if ([self.items beginTransaction] == HBDistributedArrayContentReload)
{
- // Do not execture the action if the array changed.
+ // Do not execute the action if the array changed.
[self.items commit];
return;
}
diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m
index a7a636353..196495a7d 100644
--- a/macosx/HBQueueController.m
+++ b/macosx/HBQueueController.m
@@ -58,7 +58,7 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext;
if (self = [super initWithWindowNibName:@"Queue"])
{
_queue = queue;
-
+
// Load the dockTile and instantiate initial text fields
_dockTile = [[HBDockTile alloc] initWithDockTile:NSApplication.sharedApplication.dockTile
image:NSApplication.sharedApplication.applicationIconImage];
diff --git a/macosx/HBRange+UIAdditions.h b/macosx/HBRange+UIAdditions.h
index 21d323ebb..e9bec6c9a 100644
--- a/macosx/HBRange+UIAdditions.h
+++ b/macosx/HBRange+UIAdditions.h
@@ -18,7 +18,7 @@
@end
-#pragma mark - Value Trasformers
+#pragma mark - Value Transformers
@interface HBTimeTransformer : NSValueTransformer
@end
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m
index 4f6c8e5a2..dd1d7f981 100644
--- a/macosx/HBSubtitles.m
+++ b/macosx/HBSubtitles.m
@@ -180,7 +180,7 @@ extern NSString *keySubTrackExternalFileURLBookmark;
{
[self removeTracksAtIndexes:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, self.tracks.count)]];
- // Add the remainings tracks
+ // Add the remaining tracks
for (NSUInteger idx = 1; idx < self.sourceTracksArray.count; idx++) {
[self addTrack:[self trackFromSourceTrackIndex:idx]];
}
diff --git a/macosx/HBSubtitlesTrack.h b/macosx/HBSubtitlesTrack.h
index 696ff1c29..099cd6808 100644
--- a/macosx/HBSubtitlesTrack.h
+++ b/macosx/HBSubtitlesTrack.h
@@ -77,10 +77,10 @@ NS_ASSUME_NONNULL_BEGIN
@end
/**
- * HBIsoLanguageTrasformer is a trasformer to transform
+ * HBIsoLanguageTransformer is a transformer to transform
* a ISO 639/2 code to a human readable language name.
*/
-@interface HBIsoLanguageTrasformer : NSValueTransformer
+@interface HBIsoLanguageTransformer : NSValueTransformer
@end
NS_ASSUME_NONNULL_END
diff --git a/macosx/HBSubtitlesTrack.m b/macosx/HBSubtitlesTrack.m
index 78fced933..a654fef48 100644
--- a/macosx/HBSubtitlesTrack.m
+++ b/macosx/HBSubtitlesTrack.m
@@ -391,9 +391,9 @@ fail:
@end
-#pragma mark - Value Trasformers
+#pragma mark - Value Transformers
-@implementation HBIsoLanguageTrasformer
+@implementation HBIsoLanguageTransformer
+ (Class)transformedValueClass
{
diff --git a/macosx/HBSummaryViewController.m b/macosx/HBSummaryViewController.m
index 8e8f2208e..b1cf53eea 100644
--- a/macosx/HBSummaryViewController.m
+++ b/macosx/HBSummaryViewController.m
@@ -230,7 +230,7 @@ static void *HBSummaryViewControllerSubsContext = &HBSummaryViewControllerSubsCo
- (void)updatePicture:(NSNotification *)notification
{
- // Enquee the reload call on the main runloop
+ // Enqueue the reload call on the main runloop
// to avoid reloading the same image multiple times.
if (self.pictureReloadInQueue == NO)
{
diff --git a/macosx/HBVideo+UIAdditions.h b/macosx/HBVideo+UIAdditions.h
index a8fe73b6e..af0a5f116 100644
--- a/macosx/HBVideo+UIAdditions.h
+++ b/macosx/HBVideo+UIAdditions.h
@@ -35,7 +35,7 @@
@end
/**
- * A series of value trasformers to bridge the libhb enums
+ * A series of value transformers to bridge the libhb enums
* to the textual rapresentations used in the interface.
*/
@interface HBVideoEncoderTransformer : NSValueTransformer
diff --git a/macosx/HBVideo+UIAdditions.m b/macosx/HBVideo+UIAdditions.m
index aaad74ad9..4db1bb228 100644
--- a/macosx/HBVideo+UIAdditions.m
+++ b/macosx/HBVideo+UIAdditions.m
@@ -215,7 +215,7 @@
@end
-#pragma mark - Value Trasformers
+#pragma mark - Value Transformers
@implementation HBVideoEncoderTransformer