]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-85012: Properly reset msgctxt when compiling messages with msgfmt (GH-13052...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 13 Mar 2025 19:15:28 +0000 (21:15 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Mar 2025 19:15:28 +0000 (19:15 +0000)
commit78f75d330a51effc3c3b17c867cb55088beaa891
tree6e122502e8104b356cd4f89ae79be122d9bdd9cc
parent050813c026c742f2cbdcfefc3a062d0105e2195c
[3.13] gh-85012: Properly reset msgctxt when compiling messages with msgfmt (GH-130525) (GH-131205)

Add also human-readable snapshots for tests.
(cherry picked from commit 7ea6e88eb490635518c63c3305c03baf3e151555)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Lib/test/test_tools/msgfmt_data/fuzzy.json [new file with mode: 0644]
Lib/test/test_tools/msgfmt_data/general.json [new file with mode: 0644]
Lib/test/test_tools/msgfmt_data/general.mo
Lib/test/test_tools/test_msgfmt.py
Misc/NEWS.d/next/Tools-Demos/2025-02-24-21-36-23.gh-issue-85012.9K1U0E.rst [new file with mode: 0644]
Tools/i18n/msgfmt.py