Use same comment for URL and Folder strings.

This commit is contained in:
Brent Simmons committed 2026-10-09 09:49:30 -07:00
1 parent 338761ae79
commit 1690695eed
3 files changed
+6 -8

No files matched your search

+2 -4
View File
@@ -591,8 +591,7 @@
"comment" : "First Unread"
},
"Folder" : {
"comment" : "Label for a parameter that lets the user choose a folder.",
"isCommentAutoGenerated" : true
"comment" : "Label for choosing the folder a feed is added to"
},
"Folder Inspector" : {
"comment" : "Folder Inspector window title"
@@ -1420,8 +1419,7 @@
"comment" : "Updating…"
},
"URL" : {
"comment" : "Label for the URL parameter in the Add Feed intent.",
"isCommentAutoGenerated" : true
"comment" : "Label for a feed URL"
},
"Use iCloud" : {
"comment" : "Use iCloud button"
+2 -2
View File
@@ -35,7 +35,7 @@ struct AddFeedView: View {
NavigationStack {
Form {
Section {
TextField(NSLocalizedString("URL", comment: "Label for the URL parameter in the Add Feed intent."), text: $urlString)
TextField(NSLocalizedString("URL", comment: "Label for a feed URL"), text: $urlString)
.textContentType(.URL)
.keyboardType(.URL)
.textInputAutocapitalization(.never)
@@ -51,7 +51,7 @@ struct AddFeedView: View {
NavigationLink {
AddFeedContainerPickerView(selectedContainer: $container)
} label: {
LabeledContent(NSLocalizedString("Folder", comment: "Label for a parameter that lets the user choose a folder."), value: containerName)
LabeledContent(NSLocalizedString("Folder", comment: "Label for choosing the folder a feed is added to"), value: containerName)
}
}
}
+2 -2
View File
@@ -18,13 +18,13 @@ struct AddFeedAppIntent: AppIntent {
// app group; the main app turns it into an actual feed the next time it processes the queue.
static let openAppWhenRun = false
@Parameter(title: "URL")
@Parameter(title: LocalizedStringResource("URL", comment: "Label for a feed URL"))
var url: URL
@Parameter(title: "Account", optionsProvider: AccountNameOptionsProvider())
var accountName: String?
@Parameter(title: "Folder", optionsProvider: FolderNameOptionsProvider())
@Parameter(title: LocalizedStringResource("Folder", comment: "Label for choosing the folder a feed is added to"), optionsProvider: FolderNameOptionsProvider())
var folderName: String?
static var parameterSummary: some ParameterSummary {