From bbf1b5ceb037c98f287fef40dae3ea143cc59443 Mon Sep 17 00:00:00 2001 From: Jean Brito Date: Fri, 12 Jul 2024 14:17:26 -0300 Subject: [PATCH 1/2] improve not trusted certificate message --- src/i18n/en.i18n.json | 2 +- src/i18n/pt-BR.i18n.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i18n/en.i18n.json b/src/i18n/en.i18n.json index 29fbdc422..6bf4f6a21 100644 --- a/src/i18n/en.i18n.json +++ b/src/i18n/en.i18n.json @@ -38,7 +38,7 @@ }, "certificateError": { "title": "Certificate error", - "message": "Do you trust certificate from \"{{- issuerName}}\"?", + "message": "Do you trust certificate from \"{{- issuerName}}\"? Only click 'Yes' if you really trust this certificate. If you are unsure, contact your IT or security team before clicking on 'Yes'.", "yes": "Yes", "no": "No" }, diff --git a/src/i18n/pt-BR.i18n.json b/src/i18n/pt-BR.i18n.json index 8a27c85b1..a93c436ea 100644 --- a/src/i18n/pt-BR.i18n.json +++ b/src/i18n/pt-BR.i18n.json @@ -38,7 +38,7 @@ }, "certificateError": { "title": "Erro de Certificado", - "message": "Você confia no certificado de \"{{- issuerName}}\"?", + "message": "Você confia no certificado de \"{{- issuerName}}\"? Clique em 'Sim' apenas se você realmente confiar neste certificado. Se estiver em dúvida, entre em contato com sua equipe de TI ou segurança antes de clicar em 'Sim'.", "yes": "Sim", "no": "Não" }, From 01aa1c50a5a9bf8b9f07297829bd02ecc2f44049 Mon Sep 17 00:00:00 2001 From: Jean Brito Date: Fri, 12 Jul 2024 14:17:57 -0300 Subject: [PATCH 2/2] make NO the default to not trusted certificates dialog --- src/ui/main/dialogs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/main/dialogs.ts b/src/ui/main/dialogs.ts index d15e7578c..315a43f93 100644 --- a/src/ui/main/dialogs.ts +++ b/src/ui/main/dialogs.ts @@ -117,6 +117,7 @@ export const askForCertificateTrust = async ( t('dialog.certificateError.no'), ], cancelId: 1, + defaultId: 1, } );