Skip to content

Commit 3733abd

Browse files
Add 'Show translation source'
1 parent 10b3205 commit 3733abd

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"
14+
rel="nofollow">{{ _('Show translation source') }}</a>
15+
</li>
16+
{% endif %}
1117
</ul>
1218
</div>
1319
{%- endif %}

0 commit comments

Comments
 (0)