From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 13 Dec 2025 23:09:13 +0000 (+0100) Subject: [3.13] Add 'Show translation source' to docs sidebar (GH-130355) (#142687) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa07232c6a6eb101b94ef3c5811cef5a61dc23cf;p=thirdparty%2FPython%2Fcpython.git [3.13] Add 'Show translation source' to docs sidebar (GH-130355) (#142687) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> 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 %}