From d7363fd92b38fe580a4183796d066f0371dbb18c Mon Sep 17 00:00:00 2001 From: JB Date: Fri, 30 Jun 2023 14:41:26 +0300 Subject: [PATCH 1/2] Fix the french used in the email documentation The french used in one of the example was either machine translated a while ago or written by someone who does not speak french. Fixed it by using grammatically correct french. --- Doc/includes/email-alternative.py | 10 +++++----- Doc/library/email.examples.rst | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Doc/includes/email-alternative.py b/Doc/includes/email-alternative.py index df7ca6f3faa332..4e95a2eba28b91 100644 --- a/Doc/includes/email-alternative.py +++ b/Doc/includes/email-alternative.py @@ -8,14 +8,14 @@ # Create the base text message. msg = EmailMessage() -msg['Subject'] = "Ayons asperges pour le déjeuner" +msg['Subject'] = "Pourquoi pas des asperges pour ce midi?" msg['From'] = Address("Pepé Le Pew", "pepe", "example.com") msg['To'] = (Address("Penelope Pussycat", "penelope", "example.com"), Address("Fabrette Pussycat", "fabrette", "example.com")) msg.set_content("""\ Salut! -Cela ressemble à un excellent recipie[1] déjeuner. +Cette recette [1] sera sûrement un très bon repas. [1] http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718 @@ -31,10 +31,10 @@

Salut!

-

Cela ressemble à un excellent +

Cette - recipie - déjeuner. + recette + sera sûrement un très bon repas.

diff --git a/Doc/library/email.examples.rst b/Doc/library/email.examples.rst index fc964622809d0e..289a3022fd557a 100644 --- a/Doc/library/email.examples.rst +++ b/Doc/library/email.examples.rst @@ -55,11 +55,11 @@ Up to the prompt, the output from the above is: To: Penelope Pussycat , Fabrette Pussycat From: Pepé Le Pew - Subject: Ayons asperges pour le déjeuner + Subject: Pourquoi pas des asperges pour ce midi? Salut! - Cela ressemble à un excellent recipie[1] déjeuner. + Cette recette [1] sera sûrement un très bon repas. .. rubric:: Footnotes From 569f7da36e2668c995874149c6ec531b12e998bd Mon Sep 17 00:00:00 2001 From: JB Date: Tue, 4 Jul 2023 09:58:13 +0300 Subject: [PATCH 2/2] Typography update in french emails docs --- Doc/includes/email-alternative.py | 2 +- Doc/library/email.examples.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/includes/email-alternative.py b/Doc/includes/email-alternative.py index 4e95a2eba28b91..26b302b495c7ac 100644 --- a/Doc/includes/email-alternative.py +++ b/Doc/includes/email-alternative.py @@ -8,7 +8,7 @@ # Create the base text message. msg = EmailMessage() -msg['Subject'] = "Pourquoi pas des asperges pour ce midi?" +msg['Subject'] = "Pourquoi pas des asperges pour ce midi ?" msg['From'] = Address("Pepé Le Pew", "pepe", "example.com") msg['To'] = (Address("Penelope Pussycat", "penelope", "example.com"), Address("Fabrette Pussycat", "fabrette", "example.com")) diff --git a/Doc/library/email.examples.rst b/Doc/library/email.examples.rst index 289a3022fd557a..492a8354d8bf85 100644 --- a/Doc/library/email.examples.rst +++ b/Doc/library/email.examples.rst @@ -55,7 +55,7 @@ Up to the prompt, the output from the above is: To: Penelope Pussycat , Fabrette Pussycat From: Pepé Le Pew - Subject: Pourquoi pas des asperges pour ce midi? + Subject: Pourquoi pas des asperges pour ce midi ? Salut!