Skip to content

Commit

Permalink
Update more hardcoded copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons committed Nov 15, 2023
1 parent 9149b5c commit 5c753eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions DuckDuckGo/UserText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@ In addition to the details entered into this form, your app issue report will co
static let networkProtectionWaitlistButtonEnableNotifications = NSLocalizedString("network-protection.waitlist.button.enable-notifications", value: "Enable Notifications", comment: "Enable Notifications button for Network Protection joined waitlist screen")
static let networkProtectionWaitlistButtonJoinWaitlist = NSLocalizedString("network-protection.waitlist.button.join-waitlist", value: "Join the Waitlist", comment: "Join Waitlist button for Network Protection join waitlist screen")
static let networkProtectionWaitlistButtonAgreeAndContinue = NSLocalizedString("network-protection.waitlist.button.agree-and-continue", value: "Agree and Continue", comment: "Agree and Continue button for Network Protection join waitlist screen")
static let networkProtectionWaitlistButtonExistingInviteCode = NSLocalizedString("network-protection.waitlist.button.join-waitlist", value: "I Have an Invite Code", comment: "Button title for users who already have an invite code")

static let networkProtectionWaitlistAvailabilityDisclaimer = NSLocalizedString("network-protection.waitlist.availability-disclaimer", value: "Network Protection is free to use during the beta.", comment: "Availability disclaimer for Network Protection join waitlist screen")

Expand Down
4 changes: 2 additions & 2 deletions DuckDuckGo/VPNWaitlistView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ struct VPNWaitlistSignUpView: View {
.lineSpacing(6)
.padding(.top, 24)

Button("Join the Waitlist", action: { action(.joinQueue) })
Button(UserText.networkProtectionWaitlistButtonJoinWaitlist, action: { action(.joinQueue) })
.buttonStyle(RoundedButtonStyle(enabled: !requestInFlight))
.padding(.top, 24)

Button("I Have an Invite Code", action: { action(.custom(.openNetworkProtectionInviteCodeScreen)) })
Button(UserText.networkProtectionWaitlistButtonExistingInviteCode, action: { action(.custom(.openNetworkProtectionInviteCodeScreen)) })
.buttonStyle(RoundedButtonStyle(enabled: true, style: .bordered))
.padding(.top, 18)

Expand Down
3 changes: 2 additions & 1 deletion DuckDuckGo/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,8 @@ https://duckduckgo.com/mac";
/* Enable Notifications button for Network Protection joined waitlist screen */
"network-protection.waitlist.button.enable-notifications" = "Enable Notifications";

/* Join Waitlist button for Network Protection join waitlist screen */
/* Button title for users who already have an invite code
Join Waitlist button for Network Protection join waitlist screen */
"network-protection.waitlist.button.join-waitlist" = "Join the Waitlist";

/* Button title text for the Network Protection waitlist confirmation prompt */
Expand Down

0 comments on commit 5c753eb

Please sign in to comment.