From f5b063bdf381b8a7610ff5b78529b3148dcdc049 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Tue, 16 Apr 2024 23:06:58 +0200 Subject: [PATCH] Wording. --- src/App/Container.purs | 3 +-- src/App/DisplayErrors.purs | 2 +- src/App/Page/Zone.purs | 2 +- src/App/Text/Explanations.purs | 5 +++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App/Container.purs b/src/App/Container.purs index 4762de6..e741bd8 100644 --- a/src/App/Container.purs +++ b/src/App/Container.purs @@ -551,8 +551,7 @@ handleAction = case _ of { current_page } <- H.get case current_page of Administration -> handleAction $ DispatchAuthDaemonMessage m - _ -> handleAction $ Log $ ErrorLog - "received a GotUserDeleted message while not on authd admin page." + _ -> pure unit (AuthD.GotErrorMustBeAuthenticated _) -> do handleAction $ Log $ ErrorLog "received a GotErrorMustBeAuthenticated message." handleAction $ AddNotif $ BadNotification "Sorry, you must be authenticated to perform this action." diff --git a/src/App/DisplayErrors.purs b/src/App/DisplayErrors.purs index 72c46a4..c5d1a2f 100644 --- a/src/App/DisplayErrors.purs +++ b/src/App/DisplayErrors.purs @@ -116,7 +116,7 @@ show_error_ip6 e = case e of IPAddress.IP6NotEnoughChunks -> Bulma.p """ The IPv6 representation is erroneous, it should contain 8 groups of hexadecimal characters or - being shortened with a double ':' character, such as '2000::1'. + being shortened with a double ':' character, such as "2000::1". """ IPAddress.IP6TooManyChunks -> Bulma.p "The IPv6 representation is erroneous. It should contain only up to 8 groups of hexadecimal characters." diff --git a/src/App/Page/Zone.purs b/src/App/Page/Zone.purs index 457e67d..e51cfeb 100644 --- a/src/App/Page/Zone.purs +++ b/src/App/Page/Zone.purs @@ -536,7 +536,7 @@ render state DKIM_hash_algo (map show DKIM.hash_algos) (show $ fromMaybe DKIM.SHA256 state.dkim.h) - , Bulma.box_input "pkDKIM" "Public Key" "Your public key, such as 'MIIBIjANBgqh...'" DKIM_pubkey state.dkim.p + , Bulma.box_input "pkDKIM" "Public Key" "Your public key, such as \"MIIBIjANBgqh...\"" DKIM_pubkey state.dkim.p , Bulma.box_input "noteDKIM" "Note" "Note for fellow administrators." DKIM_note (fromMaybe "" state.dkim.n) ] diff --git a/src/App/Text/Explanations.purs b/src/App/Text/Explanations.purs index bfece98..8d6657f 100644 --- a/src/App/Text/Explanations.purs +++ b/src/App/Text/Explanations.purs @@ -287,7 +287,8 @@ spf_introduction = [ HH.u_ [HH.text "Advice for beginners"] , HH.text """ : default values should work great with simple domains. - Make sure to have an MX record, which should be pointing to an A or AAAA record, and that will do it. 🥳 + Don't change anything, just click on the "Add" button below. + In addition, make sure to have an MX record, which should be pointing to an A or AAAA record, and that will do it. 🥳 """ ] ] @@ -297,7 +298,7 @@ spf_default_behavior = [Bulma.p """ What should someone do when receiving a mail with your email address but not from a listed domain or IP address? """ , HH.text """ - By default, let's advise to drop the mail (a + By default, let's opt for dropping the mail (a """ , HH.u_ [HH.text "hard fail"] , HH.text """).