Skip to content

🌐 [translation-sync] Correct two typos in exercise text (functions, python_by_example) - #101

Merged
mmcky merged 4 commits into
mainfrom
translation-sync-2026-11-02T00-34-13-pr-638
Nov 2, 2026
Merged

mmcky merged 4 commits into
mainfrom
translation-sync-2026-11-02T00-34-13-pr-638

Conversation

@mmcky

@mmcky mmcky commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Automated Translation Sync

This PR contains automated translations from QuantEcon/lecture-python-programming.

Source PR

#638 - Correct two typos in exercise text (functions, python_by_example)

Files Updated

  • ✏️ lectures/functions.md
  • ✏️ .translate/state/functions.md.yml
  • ✏️ lectures/python_by_example.md
  • ✏️ .translate/state/python_by_example.md.yml

Details

  • Source Language: en
  • Target Language: fr
  • Model: claude-sonnet-5

This PR was created automatically by the translation action.

@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Nov 2, 2026
Copilot AI balanced review requested due to automatic review settings November 2, 2026 00:34
@mmcky mmcky added action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation labels Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

✅ Translation Quality Review

Verdict: PASS | Model: claude-sonnet-5 | Date: 2026-11-02
Routing: auto-merge — no gating findings; floors met
Shadow gate: would auto-merge (recorded only; no action taken)


📝 Translation Quality

Criterion Score
Accuracy 10/10
Fluency 10/10
Terminology 10/10
Formatting 10/10
Overall 10/10

Summary: The only modified section, 'Advanced Exercises', is translated accurately, fluently, and consistently with the glossary and style guide. No syntax, formatting, or terminology issues were found in this section. The 'Advanced Exercises' heading is translated accurately and idiomatically as 'Exercices avancés' The introductory sentence for the section correctly renders 'write recursive functions together' with natural French phrasing ('nous écrirons ensemble des fonctions récursives') Formatting and directive structure (exercise-start/solution-start blocks, math blocks, code cells) is fully preserved in the changed section


🔍 Diff Quality

Check Status
Scope Correct ✅
Position Correct ✅
Structure Preserved ✅
Heading-map Correct ✅
Overall 10/10

Summary: The single-character typo fix (apostrophe correction from 'l'[Exercice 1]' to curly/straight apostrophe normalization) was correctly applied in the same location in the target document, matching the source's correction of 'in from' to 'from'.


This review was generated automatically by action-translation review mode.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is a trivial apostrophe normalization matching the file's established convention alongside internally consistent state metadata, with no objective defects identified.

No open issues 🎉

What changed in this PR

This is an automated translation-sync PR that propagates two upstream typo corrections from QuantEcon/lecture-python-programming (source PR #638) into the French translation. The only substantive content change replaces a typographic apostrophe (’) with a straight ASCII apostrophe (') in lectures/functions.md, bringing that line in line with the rest of the file, which uses straight apostrophes exclusively (59 instances, now 0 curly). The remaining changes update the translation state metadata (source SHA, sync date, tool version) for the two affected lectures.

Changes:

  • Normalize an apostrophe in the func_ex5 exercise text of lectures/functions.md to match the file's straight-apostrophe convention.
  • Update translation state metadata to source-sha: cadd911…, synced-at: "2026-11-02", and tool-version: 0.30.0 for both lectures.
File Description
lectures/​functions.md Replaces a curly apostrophe with a straight one in exercise text, consistent with the rest of the file.
.translate/​state/​functions.md.yml Updates source SHA, sync date, and tool version metadata.
.translate/​state/​python_by_example.md.yml Updates source SHA, sync date, and tool version metadata.

I reviewed the diff and supporting context. The content change is consistent with the file's established apostrophe convention, the state-file metadata is internally consistent (both reference the PR's sourceCommitSha), and the synced-at date equals the current date (no future-date issue). I found no objective defects to comment on.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown

📖 Netlify Preview Ready!

Preview URL: https://pr-101--verdant-toffee-3261a8.netlify.app

Commit: d2c778c

📚 Changed Lectures


Build Info

@mmcky
mmcky merged commit 62fbf16 into main Nov 2, 2026
5 of 7 checks passed
@mmcky
mmcky deleted the translation-sync-2026-11-02T00-34-13-pr-638 branch November 2, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action-translation PRs created by QuantEcon/action-translation automated Automated sync PR opened by action-translation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants