From 1629b7e62a3179ca756717bd60cf25746871b16d Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 8 Mar 2021 16:44:14 +0000 Subject: [PATCH] s/IP/ip/; s/from/at/ --- .../views/toasts/VerificationRequestToast.tsx | 10 +++++----- src/i18n/strings/en_EN.json | 4 ++-- src/toasts/UnverifiedSessionToast.ts | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/views/toasts/VerificationRequestToast.tsx b/src/components/views/toasts/VerificationRequestToast.tsx index 73440eb822..82c6b0b952 100644 --- a/src/components/views/toasts/VerificationRequestToast.tsx +++ b/src/components/views/toasts/VerificationRequestToast.tsx @@ -38,7 +38,7 @@ interface IProps { interface IState { counter: number; device?: DeviceInfo; - IP?: string; + ip?: string; } export default class VerificationRequestToast extends React.PureComponent { @@ -71,10 +71,10 @@ export default class VerificationRequestToast extends React.PureComponentrequests.": "Your server isn't responding to some requests.", - "From %(deviceName)s (%(deviceId)s) from %(IP)s": "From %(deviceName)s (%(deviceId)s) from %(IP)s", + "From %(deviceName)s (%(deviceId)s) at %(ip)s": "From %(deviceName)s (%(deviceId)s) at %(ip)s", "Decline (%(counter)s)": "Decline (%(counter)s)", "Accept to continue:": "Accept to continue:", "Delete": "Delete", diff --git a/src/toasts/UnverifiedSessionToast.ts b/src/toasts/UnverifiedSessionToast.ts index d375ef6112..e0ea323033 100644 --- a/src/toasts/UnverifiedSessionToast.ts +++ b/src/toasts/UnverifiedSessionToast.ts @@ -50,10 +50,10 @@ export const showToast = async (deviceId: string) => { icon: "verification_warning", props: { description: _t( - "A new login is accessing your account: %(name)s (%(deviceID)s) from %(IP)s", { + "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, + ip: device.last_seen_ip, }, ), acceptLabel: _t("Check your devices"),