Skip to content

Commit

Permalink
Add to Dock Localised strings (#3494)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/1206329551987282/1208577512136638/f

**Description**:
Add localised strings for Add to Dock.
  • Loading branch information
alessandroboron authored Oct 29, 2024
1 parent fb6a53f commit f01897e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
16 changes: 16 additions & 0 deletions DuckDuckGo/UserText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1412,4 +1412,20 @@ But if you *do* want a peek under the hood, you can find more information about
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.")
}
}

public enum AddToDockOnboarding {
public enum Buttons {
static let addToDockTutorial = NSLocalizedString("contextual.onboarding.addToDock.buttons.tutorial", value: "Show Me How", comment: "Button at the end of the browser onboarding. On click it shows the user a video about how to add the application to the device dock.")
static let dismiss = NSLocalizedString("contextual.onboarding.addToDock.buttons.dismiss", value: "Start Browsing", comment: "Button on the last screen of the onboarding, it will dismiss the onboarding screen.")
}

public enum EndOfJourney {
static let message = NSLocalizedString("contextual.onboarding.addToDock.endOfJourney.message", value: "Remember, every time you browse with me a creepy ad loses its wings.\n\nSo keep me in your Dock for daily browsing.", comment: "Message of the last screen of the onboarding to the browser app.")
}

public enum Tutorial {
static let title = NSLocalizedString("contextual.onboarding.addToDock.tutorial.title", value: "Adding me to your Dock is easy.", comment: "The title of the onboarding dialog popup that explains how to add the DDG browser icon to the dock.")
static let message = NSLocalizedString("contextual.onboarding.addToDock.tutorial.message", value: "Find or search for the DuckDuckGo icon on your home screen. Then press and drag into place. That’s it!", comment: "The message of the onboarding dialog popup that explains how to add the DDG browser icon to the dock.")
}
}
}
15 changes: 15 additions & 0 deletions DuckDuckGo/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,21 @@
/* Button to answer question 'Did turning off protections resolve the issue on this site?' */
"broken.site.report.toggle.alert.yes.button" = "Yes";

/* Button on the last screen of the onboarding, it will dismiss the onboarding screen. */
"contextual.onboarding.addToDock.buttons.dismiss" = "Start Browsing";

/* Button on the last screen of the onboarding, it will show the Add to Duck tutorial. */
"contextual.onboarding.addToDock.buttons.tutorial" = "Show Me How";

/* Message of the last screen of the onboarding to the browser app. */
"contextual.onboarding.addToDock.endOfJourney.message" = "Remember, every time you browse with me a creepy ad loses its wings.\n\nSo keep me in your Dock for daily browsing.";

/* The message of the onboarding dialog popup that explains how to add the DDG browser icon to the dock. */
"contextual.onboarding.addToDock.tutorial.message" = "Find or search for the DuckDuckGo icon on your home screen. Then press and drag into place. That’s it!";

/* The title of the onboarding dialog popup that explains how to add the DDG browser icon to the dock. */
"contextual.onboarding.addToDock.tutorial.title" = "Adding me to your Dock is easy.";

/* First parameter is a count of additional trackers, second and third are names of the tracker networks (strings) */
"contextual.onboarding.browsing.multiple.trackers" = "contextual.onboarding.browsing.multiple.trackers";

Expand Down

0 comments on commit f01897e

Please sign in to comment.