From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Sun, 23 Nov 2025 17:28:09 +0000 (+0000) Subject: gh-141865: Fix translation of strings in `changes.py` extension (#141882) X-Git-Tag: v3.15.0a3~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fe6e81d84eaaf145609fd4d9eca5ddc64463afd;p=thirdparty%2FPython%2Fcpython.git gh-141865: Fix translation of strings in `changes.py` extension (#141882) --- diff --git a/Doc/tools/templates/dummy.html b/Doc/tools/templates/dummy.html index 0fdbe2a58017..75f6607d8f36 100644 --- a/Doc/tools/templates/dummy.html +++ b/Doc/tools/templates/dummy.html @@ -27,8 +27,8 @@ In extensions/implementation_detail.py: 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: