https://github.com/python/cpython/commit/4fe6e81d84eaaf145609fd4d9eca5ddc64463afd
commit: 4fe6e81d84eaaf145609fd4d9eca5ddc64463afd
branch: main
author: Stan Ulbrych <[email protected]>
committer: hugovk <[email protected]>
date: 2025-11-23T19:28:09+02:00
summary:
gh-141865: Fix translation of strings in `changes.py` extension (#141882)
files:
M Doc/tools/templates/dummy.html
diff --git a/Doc/tools/templates/dummy.html b/Doc/tools/templates/dummy.html
index 0fdbe2a58017ff..75f6607d8f3698 100644
--- a/Doc/tools/templates/dummy.html
+++ b/Doc/tools/templates/dummy.html
@@ -27,8 +27,8 @@
In extensions/changes.py:
-{% trans %}Deprecated since version {deprecated}, will be removed in version
{removed}{% endtrans %}
-{% trans %}Deprecated since version {deprecated}, removed in version
{removed}{% endtrans %}
+{% trans %}Deprecated since version %s, will be removed in version %s{%
endtrans %}
+{% trans %}Deprecated since version %s, removed in version %s{% endtrans %}
In docsbuild-scripts, when rewriting indexsidebar.html with actual versions:
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]