https://github.com/python/cpython/commit/f6c16004418b4a9d5f94c8ea8f22148804d8b351
commit: f6c16004418b4a9d5f94c8ea8f22148804d8b351
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-12-13T23:09:03Z
summary:

[3.14] Add 'Show translation source' to docs sidebar (GH-130355) (#142686)

Co-authored-by: Stan Ulbrych <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Maciej Olko <[email protected]>

files:
M Doc/tools/templates/customsourcelink.html

diff --git a/Doc/tools/templates/customsourcelink.html 
b/Doc/tools/templates/customsourcelink.html
index 8e271bca1e08c8..0d83ac9f78adb9 100644
--- a/Doc/tools/templates/customsourcelink.html
+++ b/Doc/tools/templates/customsourcelink.html
@@ -8,6 +8,12 @@ <h3>{{ _('This page') }}</h3>
             rel="nofollow">{{ _('Show source') }}
         </a>
       </li>
+      {% if language != "en" %}
+      <li>
+        <a href="https://github.com/python/python-docs-{{ language }}/blob/{{ 
version }}/{{ pagename }}.po?plain=1"
+           rel="nofollow">{{ _('Show translation source') }}</a>
+      </li>
+      {% endif %}
     </ul>
   </div>
 {%- endif %}

_______________________________________________
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]

Reply via email to