diff --git a/_locales/en/messages.json b/_locales/en/messages.json index ff77dfeda4..47bb6a0fbc 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -826,14 +826,26 @@ "messageformat": "For contacts you’re connected to by phone number, Signal can automatically confirm whether the connection is secure using a process called key transparency. For added security, verify end-to-end encryption manually by comparing the numbers on the previous screen or scanning the code on their device.", "description": "A body of an education modal in Key Transparency section of SafetyNumberViewer when verification was successful" }, + "icu:SafetyNumberViewer__KeyTransparency__popup--ok__body-2": { + "messageformat": "For people you’re connected to by phone number, Signal can automatically confirm whether the connection is secure using a process called key transparency. For added security, verify end-to-end encryption manually by comparing the numbers on the previous screen or scanning the code on their device.", + "description": "A body of an education modal in Key Transparency section of SafetyNumberViewer when verification was successful" + }, "icu:SafetyNumberViewer__KeyTransparency__popup--fail__title": { "messageformat": "Auto-verification is no longer available for this chat", "description": "A title of an education modal in Key Transparency section of SafetyNumberViewer when verification was unsuccessful" }, + "icu:SafetyNumberViewer__KeyTransparency__popup--fail__title-2": { + "messageformat": "Auto-verification is not available for this chat", + "description": "A title of an education modal in Key Transparency section of SafetyNumberViewer when verification was unsuccessful" + }, "icu:SafetyNumberViewer__KeyTransparency__popup--fail__body": { "messageformat": "Signal can no longer automatically verify the encryption for this chat. This is likely because {name} changed their phone number. Verify end-to-end encryption manually by comparing the numbers on the previous screen or scanning the code on their device.", "description": "A body of an education modal in Key Transparency section of SafetyNumberViewer when verification was unsuccessful" }, + "icu:SafetyNumberViewer__KeyTransparency__popup--fail__body-2": { + "messageformat": "Signal can not automatically verify the encryption for this chat. This could be because {name} changed their phone number or their phone number privacy settings. Verify end-to-end encryption manually by comparing the numbers on the previous screen or scanning the code on their device.", + "description": "A body of an education modal in Key Transparency section of SafetyNumberViewer when verification was unsuccessful" + }, "icu:SafetyNumberViewer__KeyTransparency__popup--unavailable__body": { "messageformat": "Signal can only automatically verify the encryption in chats where you’re connected to someone via a phone number. If the chat was started with a username or a group in common, verify end-to-end encryption by comparing the numbers on the previous screen or scanning the code on their device.", "description": "A body of an education modal in Key Transparency section of SafetyNumberViewer when verification is unavailable" diff --git a/ts/components/SafetyNumberViewer.dom.tsx b/ts/components/SafetyNumberViewer.dom.tsx index 09125aa261..feae03eb5c 100644 --- a/ts/components/SafetyNumberViewer.dom.tsx +++ b/ts/components/SafetyNumberViewer.dom.tsx @@ -329,15 +329,15 @@ function Popup({ i18n, contact, type, onClose }: PopupPropsType): JSX.Element { case 'ok': icon = 'check-circle'; title = i18n('icu:SafetyNumberViewer__KeyTransparency__popup--ok__title'); - body = i18n('icu:SafetyNumberViewer__KeyTransparency__popup--ok__body'); + body = i18n('icu:SafetyNumberViewer__KeyTransparency__popup--ok__body-2'); break; case 'fail': icon = 'info'; title = i18n( - 'icu:SafetyNumberViewer__KeyTransparency__popup--fail__title' + 'icu:SafetyNumberViewer__KeyTransparency__popup--fail__title-2' ); body = i18n( - 'icu:SafetyNumberViewer__KeyTransparency__popup--fail__body', + 'icu:SafetyNumberViewer__KeyTransparency__popup--fail__body-2', { name: contact.title, } @@ -347,7 +347,7 @@ function Popup({ i18n, contact, type, onClose }: PopupPropsType): JSX.Element { icon = 'info'; // Intentionally the same as in 'fail' title = i18n( - 'icu:SafetyNumberViewer__KeyTransparency__popup--fail__title' + 'icu:SafetyNumberViewer__KeyTransparency__popup--fail__title-2' ); body = i18n( 'icu:SafetyNumberViewer__KeyTransparency__popup--unavailable__body'