Skip to content

Commit 73be878

Browse files
bitfidusAA-Turner
andauthoredJul 15, 2024··
Allow translations for strings in relations.html (#104)
Co-authored-by: Adam Turner <[email protected]>
1 parent eb522b8 commit 73be878

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎alabaster/relations.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<div class="relations">
2-
<h3>Related Topics</h3>
2+
<h3>{{ _('Related Topics') }}</h3>
33
<ul>
4-
<li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul>
4+
<li><a href="{{ pathto(master_doc) }}">{{ _('Documentation overview') }}</a><ul>
55
{%- for parent in parents %}
66
<li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
77
{%- endfor %}
88
{%- if prev %}
9-
<li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
9+
<li>{{ _('Previous') }}: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
1010
}}">{{ prev.title }}</a></li>
1111
{%- endif %}
1212
{%- if next %}
13-
<li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter')
13+
<li>{{ _('Next') }}: <a href="{{ next.link|e }}" title="{{ _('next chapter')
1414
}}">{{ next.title }}</a></li>
1515
{%- endif %}
1616
{%- for parent in parents %}

0 commit comments

Comments
 (0)
Please sign in to comment.