From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Sat, 13 Dec 2025 23:03:23 +0000 (+0000) Subject: Add 'Show translation source' to docs sidebar (#130355) X-Git-Tag: v3.15.0a3~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cddf04344a1e8ca9df508d3f1888a83eca445da;p=thirdparty%2FPython%2Fcpython.git Add 'Show translation source' to docs sidebar (#130355) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Maciej Olko --- diff --git a/Doc/tools/templates/customsourcelink.html b/Doc/tools/templates/customsourcelink.html index 8e271bca1e08..0d83ac9f78ad 100644 --- a/Doc/tools/templates/customsourcelink.html +++ b/Doc/tools/templates/customsourcelink.html @@ -8,6 +8,12 @@ rel="nofollow">{{ _('Show source') }} + {% if language != "en" %} +
  • + {{ _('Show translation source') }} +
  • + {% endif %} {%- endif %}