From 1690695eed867c8befa09efc3d94f27ee03e1cd7 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 9 Oct 2026 09:49:30 -0700 Subject: [PATCH] Use same comment for URL and Folder strings. --- Shared/Localizable.xcstrings | 6 ++---- iOS/Add/AddFeedView.swift | 4 ++-- iOS/AppIntents/AddFeedAppIntent.swift | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Shared/Localizable.xcstrings b/Shared/Localizable.xcstrings index 6fb14c085..2788eef17 100644 --- a/Shared/Localizable.xcstrings +++ b/Shared/Localizable.xcstrings @@ -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" diff --git a/iOS/Add/AddFeedView.swift b/iOS/Add/AddFeedView.swift index 66bf87bcc..91bf4b5e8 100644 --- a/iOS/Add/AddFeedView.swift +++ b/iOS/Add/AddFeedView.swift @@ -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) } } } diff --git a/iOS/AppIntents/AddFeedAppIntent.swift b/iOS/AppIntents/AddFeedAppIntent.swift index cebac627f..ee2de0ea9 100644 --- a/iOS/AppIntents/AddFeedAppIntent.swift +++ b/iOS/AppIntents/AddFeedAppIntent.swift @@ -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 {