From 47d9b63cfe0ce3b74886e6efda45d8971471f7fd Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Thu, 9 Feb 2023 10:04:54 +0000 Subject: [PATCH] Fix some inconsistencies in error messages (#10114) Signed-off-by: Suguru Hirahara --- src/PasswordReset.ts | 2 +- .../views/settings/devices/DeviceSecurityLearnMore.tsx | 2 +- src/i18n/strings/en_EN.json | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/PasswordReset.ts b/src/PasswordReset.ts index 7dbc8a5406..851aa95df1 100644 --- a/src/PasswordReset.ts +++ b/src/PasswordReset.ts @@ -146,7 +146,7 @@ export default class PasswordReset { err.message = _t("Failed to verify email address: make sure you clicked the link in the email"); } else if (err.httpStatus === 404) { err.message = _t( - "Your email address does not appear to be associated with a Matrix ID on this Homeserver.", + "Your email address does not appear to be associated with a Matrix ID on this homeserver.", ); } else if (err.httpStatus) { err.message += ` (Status ${err.httpStatus})`; diff --git a/src/components/views/settings/devices/DeviceSecurityLearnMore.tsx b/src/components/views/settings/devices/DeviceSecurityLearnMore.tsx index cb8c1ec9b3..03ce6fec06 100644 --- a/src/components/views/settings/devices/DeviceSecurityLearnMore.tsx +++ b/src/components/views/settings/devices/DeviceSecurityLearnMore.tsx @@ -73,7 +73,7 @@ const securityCardContent: Record< title: _t("Unverified session"), description: ( <> -

{_t(`This session doesn't support encryption, so it can't be verified.`)}

+

{_t(`This session doesn't support encryption and thus can't be verified.`)}

{_t( `You won't be able to participate in rooms where encryption is enabled when using this session.`, diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index a2fdf6870f..be577c72f0 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -117,7 +117,7 @@ "%(brand)s was not given permission to send notifications - please try again": "%(brand)s was not given permission to send notifications - please try again", "Unable to enable Notifications": "Unable to enable Notifications", "This email address was not found": "This email address was not found", - "Your email address does not appear to be associated with a Matrix ID on this Homeserver.": "Your email address does not appear to be associated with a Matrix ID on this Homeserver.", + "Your email address does not appear to be associated with a Matrix ID on this homeserver.": "Your email address does not appear to be associated with a Matrix ID on this homeserver.", "United Kingdom": "United Kingdom", "United States": "United States", "Afghanistan": "Afghanistan", @@ -1822,7 +1822,7 @@ "Unverified sessions are sessions that have logged in with your credentials but have not been cross-verified.": "Unverified sessions are sessions that have logged in with your credentials but have not been cross-verified.", "You should make especially certain that you recognise these sessions as they could represent an unauthorised use of your account.": "You should make especially certain that you recognise these sessions as they could represent an unauthorised use of your account.", "Unverified session": "Unverified session", - "This session doesn't support encryption, so it can't be verified.": "This session doesn't support encryption, so it can't be verified.", + "This session doesn't support encryption and thus can't be verified.": "This session doesn't support encryption and thus can't be verified.", "You won't be able to participate in rooms where encryption is enabled when using this session.": "You won't be able to participate in rooms where encryption is enabled when using this session.", "For best security and privacy, it is recommended to use Matrix clients that support encryption.": "For best security and privacy, it is recommended to use Matrix clients that support encryption.", "Inactive sessions": "Inactive sessions", @@ -1838,7 +1838,6 @@ "Your current session is ready for secure messaging.": "Your current session is ready for secure messaging.", "This session is ready for secure messaging.": "This session is ready for secure messaging.", "Verified session": "Verified session", - "This session doesn't support encryption and thus can't be verified.": "This session doesn't support encryption and thus can't be verified.", "Verify your current session for enhanced secure messaging.": "Verify your current session for enhanced secure messaging.", "Verify or sign out from this session for best security and reliability.": "Verify or sign out from this session for best security and reliability.", "Verify session": "Verify session",