Skip to content

Commit e16a9ba

Browse files
committed
Use reverse-DNS keys in QR code verification completed instruction
1 parent 6158a2a commit e16a9ba

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

WordPress/Classes/ViewRelated/QR Login/View Controllers/QRLoginVerifyAuthorizationViewController.swift

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,21 @@ extension QRLoginVerifyAuthorizationViewController {
196196

197197
enum completed {
198198
static let imageName = "domains-success"
199-
static let title = NSLocalizedString("You're logged in!", comment: "Title for the success view when the user has successfully logged in")
200-
static let subtitle = NSLocalizedString("Tap dismiss and head back to your web browser to continue.", comment: "Subtitle instructing the user to tap the dismiss button to leave the log in flow")
201-
static let confirmButton = NSLocalizedString("Dismiss", comment: "Button label that dismisses the qr log in flow and returns the user back to the previous screen")
199+
static let title = NSLocalizedString(
200+
"qrLoginVerifyAuthorization.completedInstructions.title",
201+
value: "You're logged in!",
202+
comment: "Title for the success view when the user has successfully logged in"
203+
)
204+
static let subtitle = NSLocalizedString(
205+
"qrLoginVerifyAuthorization.completedInstructions.subtitle",
206+
value: "Tap dismiss and head back to your web browser to continue.",
207+
comment: "Subtitle instructing the user to tap the dismiss button to leave the log in flow"
208+
)
209+
static let confirmButton = NSLocalizedString(
210+
"qrLoginVerifyAuthorization.completedInstructions.dismiss",
211+
value: "Dismiss",
212+
comment: "Button label that dismisses the qr log in flow and returns the user back to the previous screen"
213+
)
202214
}
203215

204216
enum noConnection {

0 commit comments

Comments
 (0)