diff --git a/Account/Sources/Account/CloudKit/CloudKitArticlesZoneDelegate.swift b/Account/Sources/Account/CloudKit/CloudKitArticlesZoneDelegate.swift index 613640046..8d1dca621 100644 --- a/Account/Sources/Account/CloudKit/CloudKitArticlesZoneDelegate.swift +++ b/Account/Sources/Account/CloudKit/CloudKitArticlesZoneDelegate.swift @@ -136,7 +136,7 @@ private extension CloudKitArticlesZoneDelegate { account?.markAsStarred(updateableStarredArticleIDs) { databaseError in if let databaseError = databaseError { errorOccurred = true - self.logger.error("Error occurred while stroing starred records: \(databaseError.localizedDescription, privacy: .public)") + self.logger.error("Error occurred while storing starred records: \(databaseError.localizedDescription, privacy: .public)") } group.leave() } diff --git a/Account/Sources/Account/Feedly/Operations/FeedlyGetCollectionsOperation.swift b/Account/Sources/Account/Feedly/Operations/FeedlyGetCollectionsOperation.swift index b7a761e9d..4fc7a548a 100644 --- a/Account/Sources/Account/Feedly/Operations/FeedlyGetCollectionsOperation.swift +++ b/Account/Sources/Account/Feedly/Operations/FeedlyGetCollectionsOperation.swift @@ -30,7 +30,7 @@ final class FeedlyGetCollectionsOperation: FeedlyOperation, FeedlyCollectionProv service.getCollections { result in switch result { case .success(let collections): - self.logger.debug("Receving collections: \(collections.map({ $0.id }), privacy: .public)") + self.logger.debug("Receiving collections: \(collections.map({ $0.id }), privacy: .public)") self.collections = collections self.didFinish() diff --git a/Mac/MainWindow/Sidebar/Cell/SidebarCell.swift b/Mac/MainWindow/Sidebar/Cell/SidebarCell.swift index 52b3804b4..0ec462a19 100644 --- a/Mac/MainWindow/Sidebar/Cell/SidebarCell.swift +++ b/Mac/MainWindow/Sidebar/Cell/SidebarCell.swift @@ -112,7 +112,7 @@ class SidebarCell : NSTableCellView { override func accessibilityLabel() -> String? { if unreadCount > 0 { - let unreadLabel = NSLocalizedString("unread", comment: "Unread label for accessiblity") + let unreadLabel = NSLocalizedString("unread", comment: "Unread label for accessibility") return "\(name) \(unreadCount) \(unreadLabel)" } else { return name diff --git a/iOS/Account/ReaderAPIAccountViewController.swift b/iOS/Account/ReaderAPIAccountViewController.swift index 1f93ad95a..9d98a30aa 100644 --- a/iOS/Account/ReaderAPIAccountViewController.swift +++ b/iOS/Account/ReaderAPIAccountViewController.swift @@ -181,7 +181,7 @@ class ReaderAPIAccountViewController: UITableViewController, Logging { case .success: break case .failure(let error): - self.showError(NSLocalizedString(error.localizedDescription, comment: "Accoount Refresh Error")) + self.showError(NSLocalizedString(error.localizedDescription, comment: "Account Refresh Error")) } } diff --git a/iOS/Article/ArticleViewController.swift b/iOS/Article/ArticleViewController.swift index b76ece0ba..e6ba57c35 100644 --- a/iOS/Article/ArticleViewController.swift +++ b/iOS/Article/ArticleViewController.swift @@ -45,7 +45,7 @@ class ArticleViewController: UIViewController, MainControllerIdentifiable, Loggi return button }() - var mainControllerIdentifer = MainControllerIdentifier.article + var mainControllerIdentifier = MainControllerIdentifier.article weak var coordinator: SceneCoordinator! diff --git a/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift b/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift index 4b0004c1f..c2e84c7c0 100644 --- a/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift +++ b/iOS/MasterFeed/Cell/MasterFeedTableViewCell.swift @@ -23,7 +23,7 @@ class MasterFeedTableViewCell : VibrantTableViewCell { set {} get { if unreadCount > 0 { - let unreadLabel = NSLocalizedString("unread", comment: "Unread label for accessiblity") + let unreadLabel = NSLocalizedString("unread", comment: "Unread label for accessibility") return "\(name) \(unreadCount) \(unreadLabel)" } else { return name diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index b9f469fca..7b5861783 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -26,7 +26,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner, Ma let refreshProgressModel = RefreshProgressModel() lazy var progressBarViewController = UIHostingController(rootView: RefreshProgressView(progressBarMode: refreshProgressModel)) - var mainControllerIdentifer = MainControllerIdentifier.masterFeed + var mainControllerIdentifier = MainControllerIdentifier.masterFeed weak var coordinator: SceneCoordinator! var undoableCommands = [UndoableCommand]() diff --git a/iOS/MasterTimeline/MasterTimelineTitleView.swift b/iOS/MasterTimeline/MasterTimelineTitleView.swift index 3a5b83ab5..ae1c31423 100644 --- a/iOS/MasterTimeline/MasterTimelineTitleView.swift +++ b/iOS/MasterTimeline/MasterTimelineTitleView.swift @@ -22,7 +22,7 @@ class MasterTimelineTitleView: UIView { set { } get { if let name = label.text { - let unreadLabel = NSLocalizedString("unread", comment: "Unread label for accessiblity") + let unreadLabel = NSLocalizedString("unread", comment: "Unread label for accessibility") return "\(name) \(unreadCountView.unreadCount) \(unreadLabel)" } else { diff --git a/iOS/MasterTimeline/MasterTimelineViewController.swift b/iOS/MasterTimeline/MasterTimelineViewController.swift index c55c36f4a..0297387b4 100644 --- a/iOS/MasterTimeline/MasterTimelineViewController.swift +++ b/iOS/MasterTimeline/MasterTimelineViewController.swift @@ -31,7 +31,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner private lazy var dataSource = makeDataSource() private let searchController = UISearchController(searchResultsController: nil) - var mainControllerIdentifer = MainControllerIdentifier.masterTimeline + var mainControllerIdentifier = MainControllerIdentifier.masterTimeline weak var coordinator: SceneCoordinator! var undoableCommands = [UndoableCommand]() diff --git a/iOS/SceneCoordinator.swift b/iOS/SceneCoordinator.swift index 5a13b4d80..e256be77d 100644 --- a/iOS/SceneCoordinator.swift +++ b/iOS/SceneCoordinator.swift @@ -15,7 +15,7 @@ import RSTree import SafariServices protocol MainControllerIdentifiable { - var mainControllerIdentifer: MainControllerIdentifier { get } + var mainControllerIdentifier: MainControllerIdentifier { get } } enum MainControllerIdentifier { @@ -972,7 +972,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, Logging { func selectPrevUnread() { // This should never happen, but I don't want to risk throwing us - // into an infinate loop searching for an unread that isn't there. + // into an infinite loop searching for an unread that isn't there. if appDelegate.unreadCount < 1 { return } @@ -993,7 +993,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, Logging { func selectNextUnread() { // This should never happen, but I don't want to risk throwing us - // into an infinate loop searching for an unread that isn't there. + // into an infinite loop searching for an unread that isn't there. if appDelegate.unreadCount < 1 { return } @@ -1388,9 +1388,9 @@ extension SceneCoordinator: UINavigationControllerDelegate { defer { if let mainController = viewController as? MainControllerIdentifiable { - lastMainControllerToAppear = mainController.mainControllerIdentifer + lastMainControllerToAppear = mainController.mainControllerIdentifier } else if let mainController = (viewController as? UINavigationController)?.topViewController as? MainControllerIdentifiable { - lastMainControllerToAppear = mainController.mainControllerIdentifer + lastMainControllerToAppear = mainController.mainControllerIdentifier } }