From 35950d30989c8a217bc83c85fdbe1add9c3ac7a0 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Fri, 12 Apr 2024 16:38:53 +0200 Subject: [PATCH] Use different explanation copy for new settings --- DuckDuckGo/AboutView.swift | 2 +- DuckDuckGo/UserText.swift | 3 ++- DuckDuckGo/en.lproj/Localizable.strings | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/DuckDuckGo/AboutView.swift b/DuckDuckGo/AboutView.swift index 142ae36265..4fea3ec131 100644 --- a/DuckDuckGo/AboutView.swift +++ b/DuckDuckGo/AboutView.swift @@ -74,7 +74,7 @@ struct AboutViewVersion: View { @EnvironmentObject var viewModel: SettingsViewModel var body: some View { - Section(header: Text("DuckDuckGo for iOS"), footer: Text(UserText.settingsSendCrashReportsDescription)) { + Section(header: Text("DuckDuckGo for iOS"), footer: Text(UserText.settingsSendCrashReportsDescriptionNew)) { SettingsCellView(label: UserText.settingsVersion, accesory: .rightDetail(viewModel.state.version)) diff --git a/DuckDuckGo/UserText.swift b/DuckDuckGo/UserText.swift index 7e82e3d487..ba6a4529a9 100644 --- a/DuckDuckGo/UserText.swift +++ b/DuckDuckGo/UserText.swift @@ -1094,7 +1094,8 @@ But if you *do* want a peek under the hood, you can find more information about public static let settingsAboutDDG = NSLocalizedString("settings.about.ddg", value: "About DuckDuckGo", comment: "Settings cell for About DDG") public static let settingsVersion = NSLocalizedString("settings.version", value: "Version", comment: "Settings cell for Version") public static let settingsSendCrashReports = NSLocalizedString("settings.send.crash.reports", value: "Send Crash Reports", comment: "Settings cell for Send Crash Reports") - public static let settingsSendCrashReportsDescription = NSLocalizedString("settings.send.crash.reports.description", value: "Automatically send crash reports to DuckDuckGo.", comment: "Explanation of Send Crash Reports settings option") + public static let settingsSendCrashReportsDescription = NSLocalizedString("settings.send.crash.reports.description", value: "Automatically send crash reports to DuckDuckGo", comment: "Explanation of Send Crash Reports settings option") + public static let settingsSendCrashReportsDescriptionNew = NSLocalizedString("settings.send.crash.reports.description2", value: "Automatically send crash reports to DuckDuckGo.", comment: "Explanation of Send Crash Reports settings option") // MARK: Crash Reporting diff --git a/DuckDuckGo/en.lproj/Localizable.strings b/DuckDuckGo/en.lproj/Localizable.strings index 39ce65a1be..87f74ca7b1 100644 --- a/DuckDuckGo/en.lproj/Localizable.strings +++ b/DuckDuckGo/en.lproj/Localizable.strings @@ -1993,7 +1993,10 @@ But if you *do* want a peek under the hood, you can find more information about "settings.send.crash.reports" = "Send Crash Reports"; /* Explanation of Send Crash Reports settings option */ -"settings.send.crash.reports.description" = "Automatically send crash reports to DuckDuckGo."; +"settings.send.crash.reports.description" = "Automatically send crash reports to DuckDuckGo"; + +/* Explanation of Send Crash Reports settings option */ +"settings.send.crash.reports.description2" = "Automatically send crash reports to DuckDuckGo."; /* Settings screen cell text for setting address bar position */ "settings.set.your.address.bar.position" = "Set Your Address Bar Position";