Skip to content

Commit

Permalink
Add copy for onboarding highlights experiment (#3325)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1206329551987282/1208084960726983/f

**Description**:
Update the copy for Highlights experiment
  • Loading branch information
alessandroboron authored Sep 9, 2024
1 parent 75733ad commit 38f7684
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 4 deletions.
46 changes: 44 additions & 2 deletions DuckDuckGo/UserText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1327,9 +1327,9 @@ But if you *do* want a peek under the hood, you can find more information about
enum Features {
public static let privateSearch = NSLocalizedString("onboarding.browsers.features.privateSearch.title", value: "Search privately by default", comment: "Message to highlight browser capability of private searches")
public static let trackerBlockers = NSLocalizedString("onboarding.browsers.features.trackerBlocker.title", value: "Block 3rd-party trackers", comment: "Message to highlight browser capability ofblocking 3rd party trackers")
public static let cookiePopups = NSLocalizedString("onboarding.browsers.features.cookiePopups.title", value: "Block cookie pop-ups", comment: "Message to highlight browser capability of blocking cookie pop-ups")
public static let cookiePopups = NSLocalizedString("onboarding.browsers.features.cookiePopups.title", value: "Block cookie pop-ups", comment: "Message to highlight how the browser allows you to block cookie pop-ups")
public static let creepyAds = NSLocalizedString("onboarding.browsers.features.creepyAds.title", value: "Block creepy ads", comment: "Message to highlight browser capability of blocking creepy ads")
public static let eraseBrowsingData = NSLocalizedString("onboarding.browsers.features.eraseBrowsingData.title", value: "Swiftly erase browsing data", comment: "Message to highlight browser capability ofswiftly erase browsing data")
public static let eraseBrowsingData = NSLocalizedString("onboarding.browsers.features.eraseBrowsingData.title", value: "Swiftly erase browsing data", comment: "Message to highlight browser capability of swiftly erase browsing data")
}
}

Expand Down Expand Up @@ -1358,4 +1358,46 @@ But if you *do* want a peek under the hood, you can find more information about
static let daxDialogBrowsingWithMultipleTrackers = NSLocalizedString("contextual.onboarding.browsing.multiple.trackers", comment: "First parameter is a count of additional trackers, second and third are names of the tracker networks (strings)")
}
}

public enum HighlightsOnboardingExperiment {
enum Intro {
public static let title = NSLocalizedString("onboarding.highlights.intro.title", value: "Hi there.\n\nReady for a faster browser that keeps you protected?", comment: "The title of the onboarding dialog popup")
}

enum BrowsersComparison {
public static let title = NSLocalizedString("onboarding.browsers.title", value: "Protections activated!", comment: "The title of the dialog to show the privacy features that DuckDuckGo offers")

enum Features {
public static let trackerBlockers = NSLocalizedString("onboarding.browsers.features.trackerBlocker.title", value: "Block 3rd party trackers", comment: "Message to highlight browser capability ofblocking 3rd party trackers")
public static let cookiePopups = NSLocalizedString("onboarding.highlights.browsers.features.cookiePopups.title", value: "Block cookie requests & popups", comment: "Message to highlight how the browser allows you to block cookie pop-ups")
public static let creepyAds = NSLocalizedString("onboarding.highlights.browsers.features.creepyAds.title", value: "Block targeted ads", comment: "Message to highlight browser capability of blocking creepy ads")
public static let eraseBrowsingData = NSLocalizedString("onboarding.highlights.browsers.features.eraseBrowsingData.title", value: "Erase browsing data swiftly", comment: "Message to highlight browser capability of swiftly erase browsing data")
}
}

enum AppIconSelection {
public static let title = NSLocalizedString("onboarding.highlights.appIconSelection.title", value: "Which color looks best on me?", comment: "The title of the onboarding dialog popup to select the preferred App icon.")
public static let message = NSLocalizedString("onboarding.highlights.appIconSelection.message", value: "Pick your app icon:", comment: "The subheader of the onboarding dialog popup to select the preferred App icon.")
public static let cta = NSLocalizedString("onboarding.highlights.appIconSelection.cta", value: "Next", comment: "The title of the CTA to progress to the next onboarding screen.")
}

enum AddressBarPosition {
public static let title = NSLocalizedString("onboarding.highlights.addressBarPosition.title", value: "Where should I put your address bar?", comment: "The title of the onboarding dialog popup to select the preferred address bar position.")
public static let topTitle = NSLocalizedString("onboarding.highlights.addressBarPosition.top.title", value: "Top (Default)", comment: "The title of the option to set the address bar to the top.")
public static let topMessage = NSLocalizedString("onboarding.highlights.addressBarPosition.top.message", value: "Easy to see", comment: "The message of the option to set the address bar to the top.")
public static let bottomTitle = NSLocalizedString("onboarding.highlights.addressBarPosition.bottom.title", value: "Bottom", comment: "The title of the option to set the address bar to the bottom.")
public static let bottomMessage = NSLocalizedString("onboarding.highlights.addressBarPosition.bottom.message", value: "Easy to reach", comment: "The message of the option to set the address bar to the bottom.")
public static let cta = NSLocalizedString("onboarding.highlights.addressBarPosition.cta", value: "Next", comment: "The title of the CTA to progress to the next onboarding screen.")
}

enum ContextualOnboarding {
static let onboardingTryASearchMessage = NSLocalizedString("contextual.onboarding.highlights.try-a-search.message", value: "Your DuckDuckGo searches are always private.", comment: "Message of a popover on the browser that invites the user to try a search explaining that their searches are private")
static let onboardingFirstSearchDoneMessage = NSLocalizedString("contextual.onboarding.highlights.first-search-done.message", value: "That’s DuckDuckGo Search! Private. Fast. Fewer ads.", comment: "After the user performs their first search using the browser, this dialog explains the advantages of using DuckDuckGo")
static let onboardingFinalScreenMessage = NSLocalizedString("contextual.onboarding.highlights.final-screen.message", value: "Remember: every time you browse with me a creepy ad loses its wings.", comment: "Message of the last screen of the onboarding to the browser app.")
}

enum FireDialog {
public static let skip = NSLocalizedString("onboarding.highlights.fireDialog.cta.skip", value: "Skip", comment: "The title of the fire button CTA to skip erasing the data.")
}
}
}
55 changes: 53 additions & 2 deletions DuckDuckGo/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,15 @@
/* During onboarding steps this button is shown and takes either to the next steps or closes the onboarding. */
"contextual.onboarding.got-it.button" = "Got it!";

/* Message of the last screen of the onboarding to the browser app. */
"contextual.onboarding.highlights.final-screen.message" = "Remember: every time you browse with me a creepy ad loses its wings.";

/* After the user performs their first search using the browser, this dialog explains the advantages of using DuckDuckGo */
"contextual.onboarding.highlights.first-search-done.message" = "That’s DuckDuckGo Search! Private. Fast. Fewer ads.";

/* Message of a popover on the browser that invites the user to try a search explaining that their searches are private */
"contextual.onboarding.highlights.try-a-search.message" = "Your DuckDuckGo searches are always private.";

/* Title of a popover on the new tab page browser that invites the user to try a visiting a website */
"contextual.onboarding.ntp.try-a-site.title" = "Try visiting a site!";

Expand Down Expand Up @@ -1811,13 +1820,13 @@ https://duckduckgo.com/mac";
/* Button to change the default browser */
"onboarding.browsers.cta" = "Choose Your Browser";

/* Message to highlight browser capability of blocking cookie pop-ups */
/* Message to highlight how the browser allows you to block cookie pop-ups */
"onboarding.browsers.features.cookiePopups.title" = "Block cookie pop-ups";

/* Message to highlight browser capability of blocking creepy ads */
"onboarding.browsers.features.creepyAds.title" = "Block creepy ads";

/* Message to highlight browser capability ofswiftly erase browsing data */
/* Message to highlight browser capability of swiftly erase browsing data */
"onboarding.browsers.features.eraseBrowsingData.title" = "Swiftly erase browsing data";

/* Message to highlight browser capability of private searches */
Expand All @@ -1829,6 +1838,48 @@ https://duckduckgo.com/mac";
/* The title of the dialog to show the privacy features that DuckDuckGo offers */
"onboarding.browsers.title" = "Privacy protections activated!";

/* The message of the option to set the address bar to the bottom. */
"onboarding.highlights.addressBarPosition.bottom.message" = "Easy to reach";

/* The title of the option to set the address bar to the bottom. */
"onboarding.highlights.addressBarPosition.bottom.title" = "Bottom";

/* The title of the CTA to progress to the next onboarding screen. */
"onboarding.highlights.addressBarPosition.cta" = "Next";

/* The title of the onboarding dialog popup to select the preferred address bar position. */
"onboarding.highlights.addressBarPosition.title" = "Where should I put your address bar?";

/* The message of the option to set the address bar to the top. */
"onboarding.highlights.addressBarPosition.top.message" = "Easy to see";

/* The title of the option to set the address bar to the top. */
"onboarding.highlights.addressBarPosition.top.title" = "Top (Default)";

/* The title of the CTA to progress to the next onboarding screen. */
"onboarding.highlights.appIconSelection.cta" = "Next";

/* The subheader of the onboarding dialog popup to select the preferred App icon. */
"onboarding.highlights.appIconSelection.message" = "Pick your app icon:";

/* The title of the onboarding dialog popup to select the preferred App icon. */
"onboarding.highlights.appIconSelection.title" = "Which color looks best on me?";

/* Message to highlight how the browser allows you to block cookie pop-ups */
"onboarding.highlights.browsers.features.cookiePopups.title" = "Block cookie requests & popups";

/* Message to highlight browser capability of blocking creepy ads */
"onboarding.highlights.browsers.features.creepyAds.title" = "Block targeted ads";

/* Message to highlight browser capability of swiftly erase browsing data */
"onboarding.highlights.browsers.features.eraseBrowsingData.title" = "Erase browsing data swiftly";

/* The title of the fire button CTA to skip erasing the data. */
"onboarding.highlights.fireDialog.cta.skip" = "Skip";

/* The title of the onboarding dialog popup */
"onboarding.highlights.intro.title" = "Hi there.\n\nReady for a faster browser that keeps you protected?";

/* Button to continue the onboarding process */
"onboarding.intro.cta" = "Let’s do it!";

Expand Down

0 comments on commit 38f7684

Please sign in to comment.