Move localizable strings into ActivityLog module.

This commit is contained in:
Brent Simmons committed 2026-06-05 10:47:43 -07:00
1 parent 3c0a5d6476
commit 78e15bf0b4
16 files changed
+276 -240

No files matched your search

@@ -1,63 +0,0 @@
//
// ActivityKind+DisplayName.swift
// NetNewsWire
//
// Created by Brent Simmons on 6/4/26.
//
import Foundation
import ActivityLog
extension ActivityKind {
/// Localized description for activity kinds that don't carry a URL to display separately.
/// Returns nil for the URL-bearing cases — each caller renders its own primary + URL form.
var simpleDisplayName: String? {
switch self {
case .refreshAll:
return NSLocalizedString("Refresh all", comment: "Activity kind")
case .sendArticleStatuses:
return NSLocalizedString("Sending statuses", comment: "Activity kind")
case .refreshArticleStatuses:
return NSLocalizedString("Refreshing statuses", comment: "Activity kind")
case .refreshFeedList:
return NSLocalizedString("Refreshing feed list", comment: "Activity kind")
case .refreshMissingArticles:
return NSLocalizedString("Refreshing missing articles", comment: "Activity kind")
case .importOPML:
return NSLocalizedString("Importing OPML", comment: "Activity kind")
case .subscribeFeed:
return NSLocalizedString("Subscribing to feed", comment: "Activity kind")
case .renameFeed:
return NSLocalizedString("Renaming feed", comment: "Activity kind")
case .removeFeed:
return NSLocalizedString("Removing feed", comment: "Activity kind")
case .moveFeed:
return NSLocalizedString("Moving feed", comment: "Activity kind")
case .addFeed:
return NSLocalizedString("Adding feed", comment: "Activity kind")
case .createFolder:
return NSLocalizedString("Creating folder", comment: "Activity kind")
case .renameFolder:
return NSLocalizedString("Renaming folder", comment: "Activity kind")
case .removeFolder:
return NSLocalizedString("Removing folder", comment: "Activity kind")
case .restoreFolder:
return NSLocalizedString("Restoring folder", comment: "Activity kind")
case .cleanUpCloudKitRecords:
return NSLocalizedString("Cleaning up iCloud records", comment: "Activity kind")
case .fetchCloudKitStats:
return NSLocalizedString("Fetching iCloud stats", comment: "Activity kind")
case .subscribeToCloudKitZone:
return NSLocalizedString("Subscribing to zone changes", comment: "Activity kind")
case .vacuumDatabase:
return NSLocalizedString("Vacuuming database", comment: "Activity kind")
case .validateCredentials:
return NSLocalizedString("Validating credentials", comment: "Activity kind")
case .exportOPML:
return NSLocalizedString("Exporting OPML", comment: "Activity kind")
case .refreshFeedContent, .findFeed, .fetchFeedCandidate, .downloadFeedImage, .downloadFavicon, .downloadAvatar, .downloadHTMLMetadata:
return nil
}
}
}
@@ -302,7 +302,7 @@ private extension ActivityLogWindowController {
func color(for owner: ActivityOwner) -> NSColor {
switch owner {
case .account(let accountID):
case .account(let accountID, _):
guard let account = AccountManager.shared.existingAccount(accountID: accountID) else {
return .secondaryLabelColor
}
@@ -1,32 +0,0 @@
//
// ActivityOwner+DisplayName.swift
// NetNewsWire
//
// Created by Brent Simmons on 6/4/26.
//
import Foundation
import Account
import ActivityLog
extension ActivityOwner {
@MainActor var displayName: String {
switch self {
case .app:
return "NetNewsWire"
case .account(let accountID):
return AccountManager.shared.existingAccount(accountID: accountID)?.nameForDisplay ?? accountID
case .feedFinder:
return NSLocalizedString("Feed Finder", comment: "Activity owner name")
case .feedImageDownloader:
return NSLocalizedString("Feed Images", comment: "Activity owner name")
case .faviconDownloader:
return NSLocalizedString("Favicons", comment: "Activity owner name")
case .avatarDownloader:
return NSLocalizedString("Avatars", comment: "Activity owner name")
case .htmlMetadataDownloader:
return NSLocalizedString("HTML Metadata", comment: "Activity owner name")
}
}
}
@@ -484,7 +484,7 @@ public enum FetchType {
_ work: () async throws -> T
) async throws -> T {
let activityLog = ActivityLog.shared
let id = activityLog.createActivity(owner: .account(accountID), kind: kind, detail: detail)
let id = activityLog.createActivity(owner: .account(accountID: accountID, displayName: nameForDisplay), kind: kind, detail: detail)
activityLog.didStart(id: id)
do {
let result = try await work()
@@ -507,7 +507,7 @@ public enum FetchType {
_ work: () throws -> T
) rethrows -> T {
let activityLog = ActivityLog.shared
let id = activityLog.createActivity(owner: .account(accountID), kind: kind, detail: detail)
let id = activityLog.createActivity(owner: .account(accountID: accountID, displayName: nameForDisplay), kind: kind, detail: detail)
activityLog.didStart(id: id)
do {
let result = try work()
@@ -109,7 +109,7 @@ enum CloudKitAccountDelegateError: LocalizedError, Sendable {
lastNoChangeSyncDate = nil
Self.logger.debug("CloudKitAccountDelegate: \(#function, privacy: .public)")
await withCheckedContinuation { continuation in
let op = CloudKitRemoteNotificationOperation(accountZone: accountZone, articlesZone: articlesZone, accountID: account.accountID, userInfo: userInfo)
let op = CloudKitRemoteNotificationOperation(accountZone: accountZone, articlesZone: articlesZone, accountID: account.accountID, accountDisplayName: account.nameForDisplay, userInfo: userInfo)
op.completionBlock = { _ in
Self.logger.debug("CloudKitAccountDelegate: \(#function, privacy: .public) did complete")
continuation.resume()
@@ -180,7 +180,7 @@ enum CloudKitAccountDelegateError: LocalizedError, Sendable {
func refreshArticleStatus(for account: Account) async throws {
Self.logger.debug("CloudKitAccountDelegate: \(#function, privacy: .public)")
return try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
let op = CloudKitReceiveStatusOperation(articlesZone: articlesZone, accountID: account.accountID)
let op = CloudKitReceiveStatusOperation(articlesZone: articlesZone, accountID: account.accountID, accountDisplayName: account.nameForDisplay)
op.completionBlock = { mainThreadOperation in
Self.logger.debug("CloudKitAccountDelegate: \(#function, privacy: .public) did complete")
if mainThreadOperation.isCanceled {
@@ -522,6 +522,7 @@ enum CloudKitAccountDelegateError: LocalizedError, Sendable {
articlesZone.delegate = CloudKitArticlesZoneDelegate(account: account, database: syncDatabase, articlesZone: articlesZone, syncErrorHandler: syncErrorHandler)
let accountID = account.accountID
let accountDisplayName = account.nameForDisplay
func makePageHandler(kind: ActivityKind) -> CloudKitZoneFetchPageHandler {
let what: String
switch kind {
@@ -534,7 +535,7 @@ enum CloudKitAccountDelegateError: LocalizedError, Sendable {
}
return { _, changed, deleted, _ in
let activityLog = ActivityLog.shared
let owner = ActivityOwner.account(accountID)
let owner = ActivityOwner.account(accountID: accountID, displayName: accountDisplayName)
let taskNumber = activityLog.nextTaskNumberString()
let message = cloudKitSyncMessage(changed: changed, deleted: deleted)
let detail = "Fetching \(what) \(taskNumber)"
@@ -702,7 +703,7 @@ private extension CloudKitAccountDelegate {
syncProgress.addTasks(3)
let activityLog = ActivityLog.shared
let owner = ActivityOwner.account(account.accountID)
let owner = ActivityOwner.account(accountID: account.accountID, displayName: account.nameForDisplay)
// Overall .refreshAll activity for this account, wrapping every stage
// below. Individual activities (fetchChangesInZone, receive/send operations)
@@ -15,11 +15,13 @@ import ActivityLog
final class CloudKitReceiveStatusOperation: MainThreadOperation, @unchecked Sendable {
private weak var articlesZone: CloudKitArticlesZone?
private let accountID: String
private let accountDisplayName: String
private static let logger = cloudKitLogger
init(articlesZone: CloudKitArticlesZone, accountID: String) {
init(articlesZone: CloudKitArticlesZone, accountID: String, accountDisplayName: String) {
self.articlesZone = articlesZone
self.accountID = accountID
self.accountDisplayName = accountDisplayName
super.init(name: "CloudKitReceiveStatusOperation")
}
@@ -36,7 +38,7 @@ final class CloudKitReceiveStatusOperation: MainThreadOperation, @unchecked Send
let activityLog = ActivityLog.shared
let taskNumber = activityLog.nextTaskNumberString()
let activityID = activityLog.createActivity(owner: .account(accountID), kind: .refreshArticleStatuses, detail: "Receiving article statuses \(taskNumber)")
let activityID = activityLog.createActivity(owner: .account(accountID: accountID, displayName: accountDisplayName), kind: .refreshArticleStatuses, detail: "Receiving article statuses \(taskNumber)")
activityLog.didStart(id: activityID)
Self.logger.debug("iCloud: Refreshing article statuses")
@@ -16,13 +16,15 @@ import ActivityLog
private weak var accountZone: CloudKitAccountZone?
private weak var articlesZone: CloudKitArticlesZone?
private let accountID: String
private let accountDisplayName: String
nonisolated(unsafe) private var userInfo: [AnyHashable: Any]
private static let logger = cloudKitLogger
init(accountZone: CloudKitAccountZone, articlesZone: CloudKitArticlesZone, accountID: String, userInfo: [AnyHashable: Any]) {
init(accountZone: CloudKitAccountZone, articlesZone: CloudKitArticlesZone, accountID: String, accountDisplayName: String, userInfo: [AnyHashable: Any]) {
self.accountZone = accountZone
self.articlesZone = articlesZone
self.accountID = accountID
self.accountDisplayName = accountDisplayName
self.userInfo = userInfo
super.init(name: "CloudKitRemoteNotificationOperation")
}
@@ -35,7 +37,7 @@ import ActivityLog
Task { @MainActor in
let activityLog = ActivityLog.shared
let owner = ActivityOwner.account(accountID)
let owner = ActivityOwner.account(accountID: accountID, displayName: accountDisplayName)
let taskNumber = activityLog.nextTaskNumberString()
let accountZoneActivityID = activityLog.createActivity(owner: owner, kind: .refreshFeedList, detail: "Receiving account changes \(taskNumber)")
@@ -40,7 +40,7 @@ final class CloudKitSendStatusOperation: MainThreadOperation, @unchecked Sendabl
let activityLog = ActivityLog.shared
let taskNumber = activityLog.nextTaskNumberString()
let activityID = activityLog.createActivity(owner: .account(accountID), kind: .sendArticleStatuses, detail: "Sending article statuses \(taskNumber)")
let activityID = activityLog.createActivity(owner: .account(accountID: accountID, displayName: account?.nameForDisplay ?? accountID), kind: .sendArticleStatuses, detail: "Sending article statuses \(taskNumber)")
activityLog.didStart(id: activityID)
Task { @MainActor in
@@ -152,7 +152,8 @@ import os
guard let accountID else {
return nil
}
return .account(accountID)
let displayName = AccountManager.shared.existingAccount(accountID: accountID)?.nameForDisplay ?? accountID
return .account(accountID: accountID, displayName: displayName)
}
@MainActor public func suspend() {
@@ -412,7 +413,8 @@ import os
/// Defense-in-depth for paths we didn’t explicitly cover (e.g. a feed
/// the DownloadSession dropped without a `didSkip` callback).
func completeRemainingActivities(accountID: String) {
let owner = ActivityOwner.account(accountID)
let displayName = AccountManager.shared.existingAccount(accountID: accountID)?.nameForDisplay ?? accountID
let owner = ActivityOwner.account(accountID: accountID, displayName: displayName)
let activityLog = ActivityLog.shared
for activity in activityLog.pendingActivities(for: owner) where activity.kind != .refreshAll {
+2
View File
@@ -3,6 +3,7 @@ import PackageDescription
let package = Package(
name: "ActivityLog",
defaultLocalization: "en",
platforms: [.macOS(.v15), .iOS(.v17)],
products: [
.library(
@@ -13,6 +14,7 @@ let package = Package(
targets: [
.target(
name: "ActivityLog",
resources: [.process("Resources")],
swiftSettings: [
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
.enableUpcomingFeature("InferIsolatedConformances"),
@@ -5,6 +5,8 @@
// Created by Brent Simmons on 4/4/26.
//
import Foundation
/// The kind of work an activity represents. Cases that have a URL
/// are unique. The rest are one per owner.
public enum ActivityKind: Sendable, Hashable {
@@ -54,4 +56,55 @@ public enum ActivityKind: Sendable, Hashable {
case downloadFavicon(faviconURL: String)
case downloadAvatar(avatarURL: String)
case downloadHTMLMetadata(urlString: String)
/// Localized description for activity kinds that don't carry a URL to display separately.
/// Returns nil for the URL-bearing cases — each caller renders its own primary + URL form.
public var simpleDisplayName: String? {
switch self {
case .refreshAll:
return NSLocalizedString("Refresh all", bundle: .module, comment: "Activity kind")
case .sendArticleStatuses:
return NSLocalizedString("Sending statuses", bundle: .module, comment: "Activity kind")
case .refreshArticleStatuses:
return NSLocalizedString("Refreshing statuses", bundle: .module, comment: "Activity kind")
case .refreshFeedList:
return NSLocalizedString("Refreshing feed list", bundle: .module, comment: "Activity kind")
case .refreshMissingArticles:
return NSLocalizedString("Refreshing missing articles", bundle: .module, comment: "Activity kind")
case .importOPML:
return NSLocalizedString("Importing OPML", bundle: .module, comment: "Activity kind")
case .subscribeFeed:
return NSLocalizedString("Subscribing to feed", bundle: .module, comment: "Activity kind")
case .renameFeed:
return NSLocalizedString("Renaming feed", bundle: .module, comment: "Activity kind")
case .removeFeed:
return NSLocalizedString("Removing feed", bundle: .module, comment: "Activity kind")
case .moveFeed:
return NSLocalizedString("Moving feed", bundle: .module, comment: "Activity kind")
case .addFeed:
return NSLocalizedString("Adding feed", bundle: .module, comment: "Activity kind")
case .createFolder:
return NSLocalizedString("Creating folder", bundle: .module, comment: "Activity kind")
case .renameFolder:
return NSLocalizedString("Renaming folder", bundle: .module, comment: "Activity kind")
case .removeFolder:
return NSLocalizedString("Removing folder", bundle: .module, comment: "Activity kind")
case .restoreFolder:
return NSLocalizedString("Restoring folder", bundle: .module, comment: "Activity kind")
case .cleanUpCloudKitRecords:
return NSLocalizedString("Cleaning up iCloud records", bundle: .module, comment: "Activity kind")
case .fetchCloudKitStats:
return NSLocalizedString("Fetching iCloud stats", bundle: .module, comment: "Activity kind")
case .subscribeToCloudKitZone:
return NSLocalizedString("Subscribing to zone changes", bundle: .module, comment: "Activity kind")
case .vacuumDatabase:
return NSLocalizedString("Vacuuming database", bundle: .module, comment: "Activity kind")
case .validateCredentials:
return NSLocalizedString("Validating credentials", bundle: .module, comment: "Activity kind")
case .exportOPML:
return NSLocalizedString("Exporting OPML", bundle: .module, comment: "Activity kind")
case .refreshFeedContent, .findFeed, .fetchFeedCandidate, .downloadFeedImage, .downloadFavicon, .downloadAvatar, .downloadHTMLMetadata:
return nil
}
}
}
@@ -5,13 +5,73 @@
// Created by Brent Simmons on 4/4/26.
//
import Foundation
public enum ActivityOwner: Sendable, Hashable {
case app
case account(String) // accountID
case account(accountID: String, displayName: String)
case feedFinder
case feedImageDownloader
case faviconDownloader
case avatarDownloader
case htmlMetadataDownloader
public var displayName: String {
switch self {
case .app:
return "NetNewsWire"
case .account(_, let displayName):
return displayName
case .feedFinder:
return NSLocalizedString("Feed Finder", bundle: .module, comment: "Activity owner name")
case .feedImageDownloader:
return NSLocalizedString("Feed Images", bundle: .module, comment: "Activity owner name")
case .faviconDownloader:
return NSLocalizedString("Favicons", bundle: .module, comment: "Activity owner name")
case .avatarDownloader:
return NSLocalizedString("Avatars", bundle: .module, comment: "Activity owner name")
case .htmlMetadataDownloader:
return NSLocalizedString("HTML Metadata", bundle: .module, comment: "Activity owner name")
}
}
// Custom Equatable/Hashable: identity for `.account` is the accountID alone, so a
// rename mid-flight doesn't fragment lookups (`pendingActivities(for: owner)` etc).
public static func == (lhs: ActivityOwner, rhs: ActivityOwner) -> Bool {
switch (lhs, rhs) {
case (.app, .app),
(.feedFinder, .feedFinder),
(.feedImageDownloader, .feedImageDownloader),
(.faviconDownloader, .faviconDownloader),
(.avatarDownloader, .avatarDownloader),
(.htmlMetadataDownloader, .htmlMetadataDownloader):
return true
case (.account(let lhsID, _), .account(let rhsID, _)):
return lhsID == rhsID
default:
return false
}
}
public func hash(into hasher: inout Hasher) {
switch self {
case .app:
hasher.combine(0)
case .account(let accountID, _):
hasher.combine(1)
hasher.combine(accountID)
case .feedFinder:
hasher.combine(2)
case .feedImageDownloader:
hasher.combine(3)
case .faviconDownloader:
hasher.combine(4)
case .avatarDownloader:
hasher.combine(5)
case .htmlMetadataDownloader:
hasher.combine(6)
}
}
}
@@ -0,0 +1,84 @@
{
"sourceLanguage" : "en",
"strings" : {
"Adding feed" : {
"comment" : "Activity kind"
},
"Avatars" : {
"comment" : "Activity owner name"
},
"Cleaning up iCloud records" : {
"comment" : "Activity kind"
},
"Creating folder" : {
"comment" : "Activity kind"
},
"Exporting OPML" : {
"comment" : "Activity kind"
},
"Favicons" : {
"comment" : "Activity owner name"
},
"Feed Finder" : {
"comment" : "Activity owner name"
},
"Feed Images" : {
"comment" : "Activity owner name"
},
"Fetching iCloud stats" : {
"comment" : "Activity kind"
},
"HTML Metadata" : {
"comment" : "Activity owner name"
},
"Importing OPML" : {
"comment" : "Activity kind"
},
"Moving feed" : {
"comment" : "Activity kind"
},
"Refresh all" : {
"comment" : "Activity kind"
},
"Refreshing feed list" : {
"comment" : "Activity kind"
},
"Refreshing missing articles" : {
"comment" : "Activity kind"
},
"Refreshing statuses" : {
"comment" : "Activity kind"
},
"Removing feed" : {
"comment" : "Activity kind"
},
"Removing folder" : {
"comment" : "Activity kind"
},
"Renaming feed" : {
"comment" : "Activity kind"
},
"Renaming folder" : {
"comment" : "Activity kind"
},
"Restoring folder" : {
"comment" : "Activity kind"
},
"Sending statuses" : {
"comment" : "Activity kind"
},
"Subscribing to feed" : {
"comment" : "Activity kind"
},
"Subscribing to zone changes" : {
"comment" : "Activity kind"
},
"Vacuuming database" : {
"comment" : "Activity kind"
},
"Validating credentials" : {
"comment" : "Activity kind"
}
},
"version" : "1.0"
}
@@ -33,7 +33,7 @@ import Foundation
@Test func didStartByKind() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
activityLog.createActivity(owner: owner, kind: .sendArticleStatuses)
activityLog.didStart(owner, kind: .sendArticleStatuses)
@@ -46,7 +46,7 @@ import Foundation
@Test func didCompleteByKind() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
activityLog.createActivity(owner: owner, kind: .sendArticleStatuses)
activityLog.didStart(owner, kind: .sendArticleStatuses)
@@ -61,7 +61,7 @@ import Foundation
@Test func didFailByKind() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
let error = NSError(domain: "test", code: 1)
activityLog.createActivity(owner: owner, kind: .refreshFeedList)
@@ -112,7 +112,7 @@ import Foundation
@Test func didCompleteByKindStartsPendingActivity() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
// Complete without an explicit didStart — the pending activity should be
// promoted and completed, not orphaned.
@@ -129,7 +129,7 @@ import Foundation
@Test func didFailByKindStartsPendingActivity() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
let error = NSError(domain: "test", code: 1)
activityLog.createActivity(owner: owner, kind: .refreshFeedList)
@@ -167,7 +167,7 @@ import Foundation
@Test func completedActivitiesTrimming() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
for i in 0..<510 {
let kind = ActivityKind.refreshFeedContent(feedURL: "Feed \(i)")
@@ -184,8 +184,8 @@ import Foundation
@Test func pendingActivitiesForOwner() {
let activityLog = ActivityLog()
let owner1 = ActivityOwner.account("account1")
let owner2 = ActivityOwner.account("account2")
let owner1 = ActivityOwner.account(accountID: "account1", displayName: "Account One")
let owner2 = ActivityOwner.account(accountID: "account2", displayName: "Account Two")
activityLog.createActivity(owner: owner1, kind: .sendArticleStatuses)
activityLog.createActivity(owner: owner2, kind: .sendArticleStatuses)
@@ -197,7 +197,7 @@ import Foundation
@Test func multipleKindsForSameOwner() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
activityLog.createActivity(owner: owner, kind: .sendArticleStatuses)
activityLog.createActivity(owner: owner, kind: .refreshArticleStatuses)
@@ -228,7 +228,7 @@ import Foundation
@Test func startIfNeededStartsPendingWithoutTimestamp() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
activityLog.createActivity(owner: owner, kind: .refreshFeedList)
activityLog.startIfNeeded(owner, kind: .refreshFeedList)
@@ -241,7 +241,7 @@ import Foundation
@Test func startIfNeededDoesNothingWhenAlreadyRunning() {
let activityLog = ActivityLog()
let owner = ActivityOwner.account("account1")
let owner = ActivityOwner.account(accountID: "account1", displayName: "Account One")
activityLog.createActivity(owner: owner, kind: .refreshFeedList)
activityLog.didStart(owner, kind: .refreshFeedList)
+1 -1
View File
@@ -526,7 +526,7 @@
8448F1F62D1E36BF0048BA50 /* Widget */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (8448F2052D1E36BF0048BA50 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Widget; sourceTree = "<group>"; };
84719F0E2DB9C52B00EEF332 /* Tests */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (84719F272DB9C52B00EEF332 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Tests; sourceTree = "<group>"; };
84719F372DB9C60400EEF332 /* xcconfig */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (84719F392DB9C60500EEF332 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (common, ); path = xcconfig; sourceTree = "<group>"; };
849182072FD32B1B005C3150 /* Themes */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (Appanoose.nnwtheme, Biblioteca.nnwtheme, Hyperlegible.nnwtheme, NewsFax.nnwtheme, Promenade.nnwtheme, Sepia.nnwtheme, "Tiqoe Dark.nnwtheme", "Verdana Revival.nnwtheme", ); path = Themes; sourceTree = "<group>"; };
849182072FD32B1B005C3150 /* Themes */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = Themes; sourceTree = "<group>"; };
84A6CFB52D1B4EC500F23315 /* iOS */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (84A6D03F2D1B4EC500F23315 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84A6D0402D1B4EC500F23315 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84A6D0412D1B4EC500F23315 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = iOS; sourceTree = "<group>"; };
84CB35042DB9B5E2002AC251 /* Modules */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = Modules; sourceTree = "<group>"; };
84D35D422DB9F32D004AA60E /* Shared */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (84D35E0A2DB9F32D004AA60E /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84D35E0B2DB9F32D004AA60E /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84D35E0C2DB9F32D004AA60E /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84D35E0D2DB9F32D004AA60E /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84D35E0E2DB9F32D004AA60E /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 84D35E0F2DB9F32D004AA60E /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = Shared; sourceTree = "<group>"; };
+43 -118
View File
@@ -66,9 +66,6 @@
"Add Item" : {
"comment" : "Add Item"
},
"Adding feed" : {
"comment" : "Activity kind"
},
"Advanced" : {
"comment" : "Preferences"
},
@@ -115,7 +112,7 @@
"comment" : "Article"
},
"Article Content Records" : {
"comment" : "Article content records header"
"comment" : "Article content records section header"
},
"Article Search" : {
"comment" : "Article Search"
@@ -132,11 +129,8 @@
"Automatic" : {
"comment" : "Automatic"
},
"Avatars" : {
"comment" : "Activity owner name"
},
"BazQux" : {
"comment" : "Account name\nBazQux"
"comment" : "Account name"
},
"Can’t add a feed because no feed was found." : {
"comment" : "Feed finder"
@@ -151,10 +145,10 @@
"comment" : "Feed finder"
},
"Cancel" : {
"comment" : "Cancel\nCancel button"
"comment" : "Cancel\nCancel Delete Account\nCancel Install Theme\nCancel button"
},
"Canceled." : {
"comment" : "Scan canceled text"
"comment" : "Scan status text when canceled"
},
"Choose a location for the exported OPML file." : {
"comment" : "Export OPML"
@@ -172,7 +166,7 @@
"comment" : "Export Account"
},
"Clean Up" : {
"comment" : "Clean Up\nClean up alert button"
"comment" : "Clean Up\nClean Up button title\nClean up alert button"
},
"Clean Up iCloud Records" : {
"comment" : "Clean up alert title"
@@ -180,9 +174,6 @@
"Clean Up…" : {
"comment" : "Clean up button"
},
"Cleaning up iCloud records" : {
"comment" : "Activity kind"
},
"Cleanup canceled." : {
"comment" : "Cleanup status text when canceled"
},
@@ -211,19 +202,19 @@
},
"Copy Article URL" : {
"comment" : "Copy Article URL"
"comment" : "Command"
},
"Copy Contents" : {
"comment" : "Copy Contents button"
},
"Copy External URL" : {
"comment" : "Copy External URL"
"comment" : "Command"
},
"Copy Feed URL" : {
"comment" : "Copy Feed URL"
"comment" : "Command"
},
"Copy Home Page URL" : {
"comment" : "Copy Home Page URL"
"comment" : "Command"
},
"Couldn’t complete the iCloud scan because of an error:" : {
"comment" : "Scan error alert title"
@@ -234,9 +225,6 @@
"Create a local account on your Mac." : {
"comment" : "Account Local"
},
"Creating folder" : {
"comment" : "Activity kind"
},
"Credentials" : {
},
@@ -250,19 +238,19 @@
"comment" : "Default"
},
"Delete" : {
"comment" : "Delete"
"comment" : "Command\nDelete\nDelete Account\nDelete button"
},
"Delete Feed" : {
"comment" : "Delete feed\ncommand"
"comment" : "Delete Feed\nDelete feed alert title\nUndo action name\ncommand"
},
"Delete Feeds" : {
"comment" : "command"
"comment" : "Delete feeds alert title\nUndo action name\ncommand"
},
"Delete Feeds and Folders" : {
"comment" : "command"
},
"Delete Folder" : {
"comment" : "Delete folder\ncommand"
"comment" : "Delete Folder\ncommand"
},
"Delete Folders" : {
"comment" : "command"
@@ -369,9 +357,6 @@
"Export to:" : {
"comment" : "Export OPML"
},
"Exporting OPML" : {
"comment" : "Activity kind"
},
"Extra Extra Large" : {
"comment" : "XX-Large"
},
@@ -381,12 +366,6 @@
"Favicons" : {
"comment" : "Activity owner name"
},
"Feed Finder" : {
"comment" : "Activity owner name"
},
"Feed Images" : {
"comment" : "Activity owner name"
},
"Feed Inspector" : {
"comment" : "Feed Inspector window title"
},
@@ -405,9 +384,6 @@
"Fetching %@" : {
"comment" : "Activity kind — fetching a candidate URL during feed finding"
},
"Fetching iCloud stats" : {
"comment" : "Activity kind"
},
"Filter Read Articles" : {
"comment" : "Filter Read Articles"
},
@@ -439,7 +415,7 @@
"comment" : "Folder Inspector window title"
},
"FreshRSS" : {
"comment" : "Account name\nFreshRSS"
"comment" : "Account name"
},
"General" : {
"comment" : "Preferences"
@@ -483,9 +459,6 @@
"How to Optimize iCloud Syncing" : {
"comment" : "Help link"
},
"HTML Metadata" : {
"comment" : "Activity owner name"
},
"https://fresh.rss.net/api/greader.php" : {
"comment" : "FreshRSS API Helper"
},
@@ -496,7 +469,7 @@
"comment" : "Cleanup phase text when completed"
},
"iCloud Storage Stats" : {
"comment" : "Navigation title for iCloud stats view"
"comment" : "iCloud Storage Stats window title"
},
"Icon Preview" : {
"comment" : "Icon Preview"
@@ -510,11 +483,8 @@
"Import Theme" : {
"comment" : "Import Theme"
},
"Importing OPML" : {
"comment" : "Activity kind"
},
"Inoreader" : {
"comment" : "Account name\nInoreader"
"comment" : "Account name"
},
"Inspector" : {
"comment" : "Inspector window title"
@@ -573,37 +543,37 @@
"comment" : "Manually"
},
"Mark Above as Read" : {
"comment" : "Mark Above as Read"
"comment" : "Command"
},
"Mark All as Read" : {
"comment" : "Mark All as Read"
"comment" : "Command\nMark All as Read"
},
"Mark All as Read in “%@”" : {
"comment" : "Command\nMark All as Read in Feed"
"comment" : "Command"
},
"Mark Article Unread" : {
"comment" : "Mark Article Unread"
},
"Mark as Read" : {
"comment" : "Mark as Read"
"comment" : "Command\nMark as Read"
},
"Mark As Read" : {
"comment" : "Mark As Read"
},
"Mark as Starred" : {
"comment" : "Mark as Starred"
"comment" : "Command\nMark as Starred"
},
"Mark as Unread" : {
"comment" : "Mark as Unread"
"comment" : "Command"
},
"Mark as Unstarred" : {
"comment" : "Mark as Unstarred"
"comment" : "Command"
},
"Mark Below as Read" : {
"comment" : "Mark Below as Read"
"comment" : "Command"
},
"Mark Read" : {
"comment" : "command"
"comment" : "Mark Read\ncommand"
},
"Mark Starred" : {
"comment" : "command"
@@ -626,9 +596,6 @@
"More" : {
"comment" : "More\nMore menu label"
},
"Moving feed" : {
"comment" : "Activity kind"
},
"Multiple" : {
"comment" : "Multiple"
},
@@ -655,13 +622,13 @@
"comment" : "New Article Notifications"
},
"New Feed" : {
"comment" : "New Feed"
"comment" : "Command"
},
"New Feed…" : {
"comment" : "New Feed"
},
"New Folder" : {
"comment" : "New Folder"
"comment" : "Command"
},
"New Folder…" : {
"comment" : "New Folder"
@@ -705,16 +672,16 @@
"comment" : "Number of Lines"
},
"OK" : {
"comment" : "OK"
"comment" : "OK\nOK button"
},
"Open" : {
"comment" : "Open"
},
"Open Home Page" : {
"comment" : "Open Home Page"
"comment" : "Command"
},
"Open in Browser" : {
"comment" : "Open in Browser"
"comment" : "Command\nOpen in Browser"
},
"Open In Browser" : {
"comment" : "Open In Browser"
@@ -726,7 +693,7 @@
"comment" : "Open in Browser in Foreground menu item title"
},
"Open Settings" : {
"comment" : "Open Settings\nOpen Settings button"
"comment" : "Open Settings button"
},
"Open Settings to configure iCloud and enable iCloud Drive." : {
"comment" : "CloudKit account setup recovery suggestion"
@@ -753,13 +720,13 @@
"comment" : "Processing - Reader View"
},
"Read" : {
"comment" : "Read label"
"comment" : "Read row label"
},
"Read Articles Filter" : {
"comment" : "Read Articles Filter"
},
"Read Content Deleted" : {
"comment" : "Read content deleted label"
"comment" : "Cleanup stat row label"
},
"read content record" : {
"comment" : "Singular label for read content records"
@@ -773,38 +740,20 @@
"Refresh" : {
"comment" : "Refresh\nRefresh button"
},
"Refresh all" : {
"comment" : "Activity kind"
},
"Refresh Scan" : {
"comment" : "Refresh scan button"
},
"Refreshing feed list" : {
"comment" : "Activity kind"
},
"Refreshing feed: %@" : {
"comment" : "Activity kind — refreshing a feed; %@ is the feed name or URL"
},
"Refreshing missing articles" : {
"comment" : "Activity kind"
},
"Refreshing statuses" : {
"comment" : "Activity kind"
},
"Remove" : {
"comment" : "Remove"
},
"Remove Account" : {
"comment" : "Remove Account"
},
"Removing feed" : {
"comment" : "Activity kind"
},
"Removing folder" : {
"comment" : "Activity kind"
},
"Rename" : {
"comment" : "Rename"
"comment" : "Command"
},
"Rename “%@”" : {
"comment" : "Rename feed"
@@ -812,20 +761,11 @@
"Rename %@ to:" : {
"comment" : "Rename sheet"
},
"Renaming feed" : {
"comment" : "Activity kind"
},
"Renaming folder" : {
"comment" : "Activity kind"
},
"Restoring folder" : {
"comment" : "Activity kind"
},
"Return to Previous Scan Results" : {
"comment" : "Return to scan results button"
"comment" : "Return to previous scan results button"
},
"Scan completed." : {
"comment" : "Scan completed text"
"comment" : "Scan status text when completed"
},
"Scan failed." : {
"comment" : "Scan failed text"
@@ -837,7 +777,7 @@
"comment" : "Spinner accessibility label"
},
"Scanning iCloud storage" : {
"comment" : "Scan status text"
"comment" : "Scan status text while fetching"
},
"Search" : {
"comment" : "Search"
@@ -887,11 +827,8 @@
"Self-hosted accounts sync your feeds across all your devices" : {
"comment" : "Self hosted Account"
},
"Sending statuses" : {
"comment" : "Activity kind"
},
"Share" : {
"comment" : "Share"
"comment" : "Share\nShare button accessibility description"
},
"Share Stats" : {
"comment" : "Share stats menu item"
@@ -972,16 +909,10 @@
"comment" : "Star Article"
},
"Starred" : {
"comment" : "Accessibility announcement\nStarred article for accessibility\nStarred label\nStarred pseudo-feed title"
"comment" : "Starred pseudo-feed title\nStarred row label"
},
"Status Records" : {
"comment" : "Status records header"
},
"Subscribing to feed" : {
"comment" : "Activity kind"
},
"Subscribing to zone changes" : {
"comment" : "Activity kind"
"comment" : "Status records section header"
},
"Sync content of unread articles" : {
@@ -1000,7 +931,7 @@
},
"The Old Reader" : {
"comment" : "Account name\nThe Old Reader"
"comment" : "Account name"
},
"The theme “%@” already exists. Overwrite it?" : {
"comment" : "Overwrite theme"
@@ -1105,10 +1036,10 @@
"comment" : "Unread label for accessibility"
},
"Unread" : {
"comment" : "Unread\nUnread label"
"comment" : "Unread row label"
},
"Unread Content Deleted" : {
"comment" : "Unread content deleted label"
"comment" : "Cleanup stat row label"
},
"unread content record" : {
"comment" : "Singular label for unread content records"
@@ -1164,12 +1095,6 @@
"Username, password, and API URL are required." : {
"comment" : "Credentials Error"
},
"Vacuuming database" : {
"comment" : "Activity kind"
},
"Validating credentials" : {
"comment" : "Activity kind"
},
"Waiting for access to Feedly" : {
"comment" : "Alert title when adding a Feedly account and waiting for authorization from the user."
},