Skip to content

Fix the french used in the email documentation #106279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 16, 2023

Conversation

faltad
Copy link
Contributor

@faltad faltad commented Jun 30, 2023

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.

I could also change it to english if this is the preferred approach.

Since it is a trivial doc change, I did not make an issue.


📚 Documentation preview 📚: https://cpython-previews--106279.org.readthedocs.build/

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.
@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@ghost
Copy link

ghost commented Jun 30, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@faltad faltad marked this pull request as ready for review June 30, 2023 11:50
@faltad faltad requested a review from a team as a code owner June 30, 2023 11:50
@arhadthedev arhadthedev added the docs Documentation in the Doc dir label Jun 30, 2023
@arhadthedev
Copy link
Member

cc @deronnax, @JulienPalard

@bedevere-bot

This comment was marked as resolved.

@bitdancer
Copy link
Member

Oh, nevermind, I missed the fact that this was the docs. It looks fine.

@JulienPalard JulienPalard merged commit 4dc5934 into python:main Jul 16, 2023
@JulienPalard
Copy link
Member

Thanks!! :))

@deronnax
Copy link
Contributor

I wish we stuck closer to the original French. It looked deliciously outmoded, typically an American trying to write French from what he had learned in school. It definitively had some charm. But thanks anyway

@@ -8,14 +8,14 @@

# Create the base text message.
msg = EmailMessage()
msg['Subject'] = "Ayons asperges pour le déjeuner"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty correct, it would have been:
Ayons des asperges pour le déjeuner

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit more wrong. The correct form would have been:
Cela ressemble à une excellente recette pour le déjeuner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants