Skip to content

Commit f6c1600

Browse files
miss-islingtonStanFromIrelandhugovkm-aciek
authored
[3.14] Add 'Show translation source' to docs sidebar (GH-130355) (#142686)
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 <maciej.olko@affirm.com>
1 parent affc38f commit f6c1600

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/tools/templates/customsourcelink.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ <h3>{{ _('This page') }}</h3>
88
rel="nofollow">{{ _('Show source') }}
99
</a>
1010
</li>
11+
{% if language != "en" %}
12+
<li>
13+
<a href="https://github.com/python/python-docs-{{ language }}/blob/{{ version }}/{{ pagename }}.po?plain=1"
14+
rel="nofollow">{{ _('Show translation source') }}</a>
15+
</li>
16+
{% endif %}
1117
</ul>
1218
</div>
1319
{%- endif %}

0 commit comments

Comments
 (0)