Skip to content

Commit

Permalink
Copy updates
Browse files Browse the repository at this point in the history
  • Loading branch information
amddg44 committed Nov 15, 2023
1 parent f6de777 commit acff7d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
10 changes: 4 additions & 6 deletions DuckDuckGo/UserText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -403,22 +403,20 @@ public struct UserText {

public static let emptyDownloads = NSLocalizedString("downloads.downloads-list.empty", value: "No files downloaded yet", comment: "Empty downloads list placholder")

public static let autofillSaveLoginTitleNewUser = NSLocalizedString("autofill.save-login.new-user.title", value: "Do you want DuckDuckGo to save your Login?", comment: "Title displayed on modal asking for the user to save the login for the first time")
public static let autofillSaveLoginTitleNewUser = NSLocalizedString("autofill.save-login.new-user.title", value: "Do you want DuckDuckGo to save your password?", comment: "Title displayed on modal asking for the user to save the login for the first time")
public static let autofillSaveLoginTitle = NSLocalizedString("autofill.save-login.title", value: "Save Login?", comment: "Title displayed on modal asking for the user to save the login")
public static let autofillUpdateUsernameTitle = NSLocalizedString("autofill.update-usernamr.title", value: "Update username?", comment: "Title displayed on modal asking for the user to update the username")

public static let autofillSaveLoginMessageNewUser = NSLocalizedString("autofill.save-login.new-user.message", value: "Logins are stored securely on your device in the Logins menu.", comment: "Message displayed on modal asking for the user to save the login for the first time")
public static let autofillSaveLoginMessageNewUser = NSLocalizedString("autofill.save-login.new-user.message", value: "Passwords are stored securely on your device in the Logins menu.", comment: "Message displayed on modal asking for the user to save the login for the first time")
public static let autofillSaveLoginNotNowCTA = NSLocalizedString("autofill.save-login.not-now.CTA", value: "Don’t Save", comment: "Cancel CTA displayed on modal asking for the user to save the login")
public static let autofillSaveLoginNeverPromptCTA = NSLocalizedString("autofill.save-login.never-prompt.CTA", value:"Never Ask for This Site", comment: "CTA displayed on modal asking if the user never wants to be prompted to save a login for this website agin")

public static let autofillSavePasswordTitle = NSLocalizedString("autofill.save-password.title", value: "Save Password?", comment: "Title displayed on modal asking for the user to save the password")
public static func autofillUpdatePassword(for title: String) -> String {
let message = NSLocalizedString("autofill.update-password.title", value: "Update password for\n%@?", comment: "Title displayed on modal asking for the user to update the password")
return message.format(arguments: title)
}
public static let autoUpdatePasswordMessage = NSLocalizedString("autofill.update-password.message", value: "DuckDuckGo will update this stored Login on your device.", comment: "Message displayed on modal asking for the user to update the password")
public static let autoUpdatePasswordMessage = NSLocalizedString("autofill.update-password.message", value: "DuckDuckGo will update this stored password on your device.", comment: "Message displayed on modal asking for the user to update the password")

public static let autofillSaveLoginSaveCTA = NSLocalizedString("autofill.save-login.save.CTA", value: "Save Login", comment: "Confirm CTA displayed on modal asking for the user to save the login")
public static let autofillSavePasswordSaveCTA = NSLocalizedString("autofill.save-password.save.CTA", value: "Save Password", comment: "Confirm CTA displayed on modal asking for the user to save the password")
public static let autofillUpdatePasswordSaveCTA = NSLocalizedString("autofill.update-password.save.CTA", value: "Update Password", comment: "Confirm CTA displayed on modal asking for the user to update the password")
public static let autofillShowPassword = NSLocalizedString("autofill.show-password", value: "Show Password", comment: "Accessibility title for a Show Password button displaying actial password instead of *****")
Expand Down Expand Up @@ -727,7 +725,7 @@ In addition to the details entered into this form, your app issue report will co

public static let autofillLoginPromptAuthenticationCancelButton = NSLocalizedString("autofill.logins.prompt.auth.cancel", value:"Cancel", comment: "Cancel button for auth during login prompt")
public static let autofillLoginPromptAuthenticationReason = NSLocalizedString("autofill.logins.prompt.auth.reason", value:"Unlock To Use Saved Login", comment: "Reason for auth during login prompt")
public static let autofillLoginPromptTitle = NSLocalizedString("autofill.logins.prompt.title", value:"Use a saved Login?", comment: "Title for autofill login prompt")
public static let autofillLoginPromptTitle = NSLocalizedString("autofill.logins.prompt.title", value:"Use a saved password?", comment: "Title for autofill login prompt")
public static let autofillLoginPromptExactMatchTitle = NSLocalizedString("autofill.logins.prompt.exact.match.title", value:"From this website", comment: "Title for section of autofill logins that are an exact match to the current website")
public static func autofillLoginPromptPartialMatchTitle(for type: String) -> String {
let message = NSLocalizedString("autofill.logins.prompt.partial.match.title", value: "From %@", comment: "Title for section of autofill logins that are an approximate match to the current website")
Expand Down
14 changes: 4 additions & 10 deletions DuckDuckGo/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
"autofill.logins.prompt.password.button.title" = "Password for %@";

/* Title for autofill login prompt */
"autofill.logins.prompt.title" = "Use a saved Login?";
"autofill.logins.prompt.title" = "Use a saved password?";

/* Subtitle displayed when there are no results on Autofill search, example : No Result (Title) for Duck (Subtitle) */
"autofill.logins.search.no-results.subtitle" = "for '%@'";
Expand Down Expand Up @@ -644,34 +644,28 @@
"autofill.save-login.never-prompt.CTA" = "Never Ask for This Site";

/* Message displayed on modal asking for the user to save the login for the first time */
"autofill.save-login.new-user.message" = "Logins are stored securely on your device in the Logins menu.";
"autofill.save-login.new-user.message" = "Passwords are stored securely on your device in the Logins menu.";

/* Title displayed on modal asking for the user to save the login for the first time */
"autofill.save-login.new-user.title" = "Do you want DuckDuckGo to save your Login?";
"autofill.save-login.new-user.title" = "Do you want DuckDuckGo to save your password?";

/* Cancel CTA displayed on modal asking for the user to save the login */
"autofill.save-login.not-now.CTA" = "Don’t Save";

/* Confirm CTA displayed on modal asking for the user to save the login */
"autofill.save-login.save.CTA" = "Save Login";

/* Title displayed on modal asking for the user to save the login */
"autofill.save-login.title" = "Save Login?";

/* Confirm CTA displayed on modal asking for the user to save the password */
"autofill.save-password.save.CTA" = "Save Password";

/* Title displayed on modal asking for the user to save the password */
"autofill.save-password.title" = "Save Password?";

/* Accessibility title for a Show Password button displaying actial password instead of ***** */
"autofill.show-password" = "Show Password";

/* Message displayed to the user when they are logged out of Email protection. */
"autofill.signin.to.manage" = "%@ to manage your Duck Addresses on this device.";

/* Message displayed on modal asking for the user to update the password */
"autofill.update-password.message" = "DuckDuckGo will update this stored Login on your device.";
"autofill.update-password.message" = "DuckDuckGo will update this stored password on your device.";

/* Confirm CTA displayed on modal asking for the user to update the password */
"autofill.update-password.save.CTA" = "Update Password";
Expand Down

0 comments on commit acff7d0

Please sign in to comment.