diff --git a/DuckDuckGo/UserText.swift b/DuckDuckGo/UserText.swift index ee27064c60..c09d2b50ec 100644 --- a/DuckDuckGo/UserText.swift +++ b/DuckDuckGo/UserText.swift @@ -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") diff --git a/DuckDuckGo/VPNWaitlistView.swift b/DuckDuckGo/VPNWaitlistView.swift index 5f751c88fd..1e3d329975 100644 --- a/DuckDuckGo/VPNWaitlistView.swift +++ b/DuckDuckGo/VPNWaitlistView.swift @@ -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) diff --git a/DuckDuckGo/en.lproj/Localizable.strings b/DuckDuckGo/en.lproj/Localizable.strings index a9d6104f46..55a020d823 100644 --- a/DuckDuckGo/en.lproj/Localizable.strings +++ b/DuckDuckGo/en.lproj/Localizable.strings @@ -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 */