Revise localizable strings comments.

This commit is contained in:
Brent Simmons committed 2026-06-09 11:25:20 -07:00
1 parent 6a377404de
commit b351072c22
4 files changed
+37 -10

No files matched your search

@@ -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:
@@ -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)
])
+31 -4
View File
@@ -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."
},
+1 -1
View File
@@ -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