Skip to content

Fix newly-fuzzy strings in optparse.po and uuid.po (CPython 3.14 sync) - #74

Merged
sepehr-rs merged 1 commit into
python:3.14from
neevmodh:translate-uuid-optparse-fuzzy-fix
Sep 27, 2026
Merged

sepehr-rs merged 1 commit into
python:3.14from
neevmodh:translate-uuid-optparse-fuzzy-fix

Conversation

@neevmodh

Copy link
Copy Markdown
Contributor

What

Fixes #73 — the 7 strings the sync bot flagged as newly fuzzy after the CPython 3.14 sync (commit f27c61a).

library/optparse.po (3 strings): the getopt/optparse/argparse comparison sentences dropped their trailing "included in the standard library since Python X" clauses upstream. Trimmed the same clauses from the Persian translations to match.

library/uuid.po (4 strings): "a string of N bytes" was reworded upstream to "an N-byte :class:bytes object" for precision (including the `# make a UUID from a 16-byte ...` code comment). Updated the four affected translations to match, using the `شیء :class:`bytes phrasing already used consistently elsewhere in this project (asyncio-subprocess.po, bz2.po, codecs.po, etc.) for the same English phrase.

Validation

  • msgfmt --check passes on both files
  • scripts/check_markup.py library/optparse.po library/uuid.po → "No markup mismatches found."
  • No fuzzy markers remain in either file

… sync

optparse.po: the getopt/optparse/argparse comparison strings dropped
their trailing "included in the standard library since Python X"
clauses upstream; trim the same clauses from the Persian translations.

uuid.po: "a string of N bytes" was reworded upstream to "an N-byte
:class:`bytes` object" for precision; update the four affected
translations (including the code example comment) to match, using
the existing "شیء :class:`bytes`" convention used elsewhere in this
translation project.

Both files pass msgfmt --check and scripts/check_markup.py.
Copilot AI lite review requested due to automatic review settings September 27, 2026 05:43

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sepehr-rs

Copy link
Copy Markdown
Collaborator

Thanks a lot for the contribution! While some parts of the changes appear to be AI-assisted and the PR template was not followed, the scope of the changes is appropriate and the PR is good to merge. Thanks again for your work!

@sepehr-rs
sepehr-rs merged commit eeeb910 into python:3.14 Sep 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔍 Translation review needed after CPython sync (2026-09-27)

3 participants