]> git.ipfire.org Git - thirdparty/babel.git/commit
Keep translator comments next to the translation function call (#1196)
authorAarni Koskela <akx@iki.fi>
Tue, 24 Jun 2025 11:53:27 +0000 (14:53 +0300)
committerGitHub <noreply@github.com>
Tue, 24 Jun 2025 11:53:27 +0000 (14:53 +0300)
commitde44e18528ab246e94c8d1bb10b9057113f30104
tree73641431195a1e3a7b33240d567f64991d900aba
parentc8c93652cdd957e0ce4ee32c307c62412a4bf49e
Keep translator comments next to the translation function call (#1196)

* Add reproducer for issue 1195

* Keep translator comments next to the translation function call, even if the text is further away

Fixes #1195
babel/messages/extract.py
tests/messages/test_extract.py