]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-85012: Properly reset msgctxt when compiling messages with msgfmt (GH-13052...
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 13 Mar 2025 19:09:42 +0000 (21:09 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Mar 2025 19:09:42 +0000 (19:09 +0000)
commita3f488941388faa9974cad13fdda01a9bdb388af
tree63230eecfd43cf2008fc1d757440485c4eef9314
parentba363894bb70556dd7a72e724808bc37d5705f59
[3.12] gh-85012: Properly reset msgctxt when compiling messages with msgfmt (GH-130525) (GH-131206)

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