mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
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 <maciej.olko@affirm.com>
This commit is contained in:
parent
e5a48480c0
commit
6cddf04344
1 changed files with 6 additions and 0 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue