From 906775c3ef91ba8bf00eaf0dc7b9882a79004c63 Mon Sep 17 00:00:00 2001 From: Fernando Bunn Date: Wed, 4 Dec 2024 15:32:42 -0300 Subject: [PATCH] Ship review feedback --- DuckDuckGo/SettingsMainSettingsView.swift | 16 ++++++++-------- DuckDuckGo/UserText.swift | 2 +- DuckDuckGo/en.lproj/Localizable.strings | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/DuckDuckGo/SettingsMainSettingsView.swift b/DuckDuckGo/SettingsMainSettingsView.swift index e1e598356f..9fe96cd819 100644 --- a/DuckDuckGo/SettingsMainSettingsView.swift +++ b/DuckDuckGo/SettingsMainSettingsView.swift @@ -68,14 +68,6 @@ struct SettingsMainSettingsView: View { image: Image("SettingsDataClearing")) } - // AI Chat - if viewModel.state.aiChatEnabled { - NavigationLink(destination: SettingsAIChatView().environmentObject(viewModel)) { - SettingsCellView(label: UserText.aiChatFeatureName, - image: Image("SettingsAIChat")) - } - } - // Duck Player // We need to hide the settings until the user is enrolled in the experiment if viewModel.state.duckPlayerEnabled { @@ -84,6 +76,14 @@ struct SettingsMainSettingsView: View { image: Image("SettingsDuckPlayer")) } } + + // AI Chat + if viewModel.state.aiChatEnabled { + NavigationLink(destination: SettingsAIChatView().environmentObject(viewModel)) { + SettingsCellView(label: UserText.aiChatFeatureName, + image: Image("SettingsAIChat")) + } + } } } diff --git a/DuckDuckGo/UserText.swift b/DuckDuckGo/UserText.swift index 2bf70519c1..ff3430d987 100644 --- a/DuckDuckGo/UserText.swift +++ b/DuckDuckGo/UserText.swift @@ -50,7 +50,7 @@ public struct UserText { public static let actionCopyMessage = NSLocalizedString("action.title.copy.message", value: "URL copied", comment: "Floating message indicating URL has been copied") public static let actionShare = NSLocalizedString("action.title.share", value: "Share", comment: "Share action") public static let actionPrint = NSLocalizedString("action.title.print", value: "Print", comment: "Print action in the menu header") - public static let actionPrintSite = NSLocalizedString("action.title.print.site", value: "Print Site", comment: "Print action in the menu list") + public static let actionPrintSite = NSLocalizedString("action.title.print.site", value: "Print", comment: "Print action in the menu list") public static let actionOpenAIChat = NSLocalizedString("action.title.aichat", value: "Chat", comment: "Open AI Chat action in the menu list") public static let actionOpenBookmarks = NSLocalizedString("action.title.bookmarks", value: "Bookmarks", comment: "Button: Open bookmarks list") diff --git a/DuckDuckGo/en.lproj/Localizable.strings b/DuckDuckGo/en.lproj/Localizable.strings index 9162459f60..f65a3bac1a 100644 --- a/DuckDuckGo/en.lproj/Localizable.strings +++ b/DuckDuckGo/en.lproj/Localizable.strings @@ -86,7 +86,7 @@ "action.title.print" = "Print"; /* Print action in the menu list */ -"action.title.print.site" = "Print Site"; +"action.title.print.site" = "Print"; /* Refresh action - button shown in alert */ "action.title.refresh" = "Refresh";