Tweak cross-signing copy

This makes some Design-approved copy tweaks to the recent cross-signing flow
changes.
This commit is contained in:
J. Ryan Stinnett 2021-03-26 11:13:39 +00:00
parent 356e4bc6fc
commit fd59a66523
10 changed files with 44 additions and 36 deletions

View file

@ -42,7 +42,7 @@ export const showToast = (deviceIds: Set<string>) => {
title: _t("You have unverified logins"),
icon: "verification_warning",
props: {
description: _t("Verify all your sessions to ensure your account & messages are safe"),
description: _t("Review to ensure your account is safe"),
acceptLabel: _t("Review"),
onAccept,
rejectLabel: _t("Later"),

View file

@ -49,13 +49,11 @@ export const showToast = async (deviceId: string) => {
title: _t("New login. Was this you?"),
icon: "verification_warning",
props: {
description: _t(
"A new login is accessing your account: %(name)s (%(deviceID)s) at %(ip)s", {
name: device.display_name,
deviceID: deviceId,
ip: device.last_seen_ip,
},
),
description: device.display_name,
detail: _t("%(deviceId)s from %(ip)s", {
deviceId,
ip: device.last_seen_ip,
}),
acceptLabel: _t("Check your devices"),
onAccept,
rejectLabel: _t("Later"),