diff --git a/Mac/AccountStats/AccountStatsWindowController.swift b/Mac/AccountStats/AccountStatsWindowController.swift index 2134a0f7b..68cc3c4a1 100644 --- a/Mac/AccountStats/AccountStatsWindowController.swift +++ b/Mac/AccountStats/AccountStatsWindowController.swift @@ -254,7 +254,7 @@ private extension AccountStatsWindowController { func totalsText(for kind: ColumnKind) -> String { switch kind { case .account: - return NSLocalizedString("Totals", comment: "Totals row label") + return NSLocalizedString("Totals", comment: "Totals section") case .feeds: return Self.formattedNumber(model.totals.feedCount) case .folders: diff --git a/Mac/CloudKitStats/Scan/CloudKitStatsScanContentView.swift b/Mac/CloudKitStats/Scan/CloudKitStatsScanContentView.swift index 4d02977f9..eaa1bfaaf 100644 --- a/Mac/CloudKitStats/Scan/CloudKitStatsScanContentView.swift +++ b/Mac/CloudKitStats/Scan/CloudKitStatsScanContentView.swift @@ -38,16 +38,16 @@ final class CloudKitStatsScanContentView: NSView { buildSectionRows(statusSectionView, rows: [ .header(NSLocalizedString("Status Records", comment: "Status records section header")), .data(labelView: NSTextField(labelWithString: NSLocalizedString("Total", comment: "Total row label")), valueLabel: statusRecordCountLabel), - .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Starred", comment: "Starred label"), symbolName: "star.fill", color: CloudKitStatsLayout.starColor), valueLabel: starredCountLabel), - .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Unread", comment: "Unread label"), symbolName: "circle.fill", color: .controlAccentColor, iconOffset: 0.5), valueLabel: unreadCountLabel), + .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Starred", comment: "Starred"), symbolName: "star.fill", color: CloudKitStatsLayout.starColor), valueLabel: starredCountLabel), + .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Unread", comment: "Unread"), symbolName: "circle.fill", color: .controlAccentColor, iconOffset: 0.5), valueLabel: unreadCountLabel), .data(labelView: NSTextField(labelWithString: NSLocalizedString("Read", comment: "Read row label")), valueLabel: readCountLabel) ]) buildSectionRows(articleSectionView, rows: [ .header(NSLocalizedString("Article Content Records", comment: "Article content records header")), .data(labelView: NSTextField(labelWithString: NSLocalizedString("Total", comment: "Total row label")), valueLabel: totalContentCountLabel), - .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Starred", comment: "Starred label"), symbolName: "star.fill", color: CloudKitStatsLayout.starColor), valueLabel: starredContentCountLabel), - .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Unread", comment: "Unread label"), symbolName: "circle.fill", color: .controlAccentColor, iconOffset: 0.5), valueLabel: unreadContentCountLabel), + .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Starred", comment: "Starred"), symbolName: "star.fill", color: CloudKitStatsLayout.starColor), valueLabel: starredContentCountLabel), + .data(labelView: CloudKitStatsLayout.makeLabelWithIcon(NSLocalizedString("Unread", comment: "Unread"), symbolName: "circle.fill", color: .controlAccentColor, iconOffset: 0.5), valueLabel: unreadContentCountLabel), .data(labelView: NSTextField(labelWithString: NSLocalizedString("Read", comment: "Read row label")), valueLabel: readContentCountLabel) ]) diff --git a/Shared/Localizable.xcstrings b/Shared/Localizable.xcstrings index 89611f28e..caf45c43c 100644 --- a/Shared/Localizable.xcstrings +++ b/Shared/Localizable.xcstrings @@ -45,6 +45,9 @@ "Account Error" : { "comment" : "Account Error" }, + "Account Stats" : { + "comment" : "Account Stats screen title" + }, "Accounts" : { "comment" : "Preferences" }, @@ -120,6 +123,9 @@ "Article Theme" : { "comment" : "Article Theme" }, + "Articles" : { + "comment" : "Articles" + }, "Author‘s website:" : { "comment" : "Author's Website" }, @@ -231,6 +237,9 @@ "Dark" : { "comment" : "Dark" }, + "Databases" : { + "comment" : "Database size row label" + }, "Deactivate" : { "comment" : "Deactivate" }, @@ -378,6 +387,9 @@ "Feedly" : { "comment" : "Account name" }, + "Feeds" : { + "comment" : "Feeds" + }, "Fetching" : { "comment" : "Activity kind — fetching a candidate URL during feed finding" }, @@ -414,6 +426,9 @@ "Folder Inspector" : { "comment" : "Folder Inspector window title" }, + "Folders" : { + "comment" : "Folders" + }, "FreshRSS" : { "comment" : "Account name" }, @@ -442,7 +457,7 @@ "comment" : "Go To Today" }, "Help" : { - "comment" : "Help menu item" + "comment" : "Help" }, "Help — opens in browser" : { "comment" : "Help button accessibility label" @@ -909,11 +924,14 @@ "comment" : "Star Article" }, "Starred" : { - "comment" : "Starred label" + "comment" : "Starred" }, "Status Records" : { "comment" : "Status records section header" }, + "Statuses" : { + "comment" : "Statuses" + }, "Sync content of unread articles" : { }, @@ -1024,7 +1042,7 @@ "comment" : "Total row label" }, "Totals" : { - "comment" : "Totals row label" + "comment" : "Totals section" }, "Type:" : { @@ -1036,7 +1054,7 @@ "comment" : "Unread label for accessibility" }, "Unread" : { - "comment" : "Unread label" + "comment" : "Unread" }, "Unread Content Deleted" : { "comment" : "Cleanup stat row label" @@ -1095,6 +1113,15 @@ "Username, password, and API URL are required." : { "comment" : "Credentials Error" }, + "Vacuum Databases" : { + "comment" : "Vacuum databases button" + }, + "Vacuuming may make databases faster." : { + "comment" : "Vacuum explanation" + }, + "Vacuuming…" : { + "comment" : "Vacuum status text" + }, "Waiting for access to Feedly" : { "comment" : "Alert title when adding a Feedly account and waiting for authorization from the user." }, diff --git a/Shared/SmartFeeds/StarredFeedDelegate.swift b/Shared/SmartFeeds/StarredFeedDelegate.swift index 05520de53..0811e11dc 100644 --- a/Shared/SmartFeeds/StarredFeedDelegate.swift +++ b/Shared/SmartFeeds/StarredFeedDelegate.swift @@ -19,7 +19,7 @@ import Images return SidebarItemIdentifier.smartFeed(String(describing: StarredFeedDelegate.self)) } - let nameForDisplay = NSLocalizedString("Starred", comment: "Starred label") + let nameForDisplay = NSLocalizedString("Starred", comment: "Starred") let fetchType: FetchType = .starred(nil) var smallIcon: IconImage? { Assets.Images.starredFeed