summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJean-Baptiste Poupon <faltad@gmail.com>2023-07-16 17:14:08 (GMT)
committerGitHub <noreply@github.com>2023-07-16 17:14:08 (GMT)
commit4dc593477a2e8a5c22e3e2346aaae05ca46b12cb (patch)
treeca04d8b8c50c690f2d8909a8e85101dfdcd779d7 /Doc
parent55408f86d78259f18c56c5e1ea51e0f8dcdbeb67 (diff)
downloadcpython-4dc593477a2e8a5c22e3e2346aaae05ca46b12cb.zip
cpython-4dc593477a2e8a5c22e3e2346aaae05ca46b12cb.tar.gz
cpython-4dc593477a2e8a5c22e3e2346aaae05ca46b12cb.tar.bz2
Fix the french used in the email documentation (GH-106279)
* 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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/includes/email-alternative.py10
-rw-r--r--Doc/library/email.examples.rst4
2 files changed, 7 insertions, 7 deletions
diff --git a/Doc/includes/email-alternative.py b/Doc/includes/email-alternative.py
index df7ca6f..26b302b 100644
--- a/Doc/includes/email-alternative.py
+++ b/Doc/includes/email-alternative.py
@@ -8,14 +8,14 @@ from email.utils import make_msgid
# 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 @@ msg.add_alternative("""\
<head></head>
<body>
<p>Salut!</p>
- <p>Cela ressemble à un excellent
+ <p>Cette
<a href="http://www.yummly.com/recipe/Roasted-Asparagus-Epicurious-203718">
- recipie
- </a> déjeuner.
+ recette
+ </a> sera sûrement un très bon repas.
</p>
<img src="cid:{asparagus_cid}" />
</body>
diff --git a/Doc/library/email.examples.rst b/Doc/library/email.examples.rst
index fc96462..492a835 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 <penelope@example.com>, Fabrette Pussycat <fabrette@example.com>
From: Pepé Le Pew <pepe@example.com>
- 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