Commit 83252fd4 authored by emmapeel's avatar emmapeel 🤖
Browse files

translate link labels on navbar and footer

parent 59940126
......@@ -33,7 +33,7 @@
{% else %}
<a class="nav-link text-light" href="{{ item.path }}">
{% endif %}
{{ item.label }}
{{ _(item.label) }}
{% if this.is_child_of(item.path) %}
<span class="sr-only">(current)</span>
{% endif %}
......@@ -46,8 +46,8 @@
<div class="col-12 d-flex justify-content-center">
<div class="col-md-8 mt-5 pb-5 border">
<p class="text-primary-light text-uppercase">{{ _('Subscribe to our Newsletter') }}</p>
<p class="text-light">{{ _('Get monthly updates and opportunities from the Tor Project') }}:</p>
<p class="w"><a class="btn btn-small btn-dark mt-2 text-white text-uppercase active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/">Sign up</a></p>
<p class="text-light">{{ _('Get monthly updates and opportunities from the Tor Project:') }}</p>
<p class="w"><a class="btn btn-small btn-dark mt-2 text-white text-uppercase active" role="button" aria-pressed="true" href="https://newsletter.torproject.org/">{{ _('Sign up') }}</a></p>
</div>
</div>
......
......@@ -27,7 +27,7 @@
{% else %}
<a class="nav-link" href="{{ item.path }}">
{% endif %}
{{ item.label }}
{{ _(item.label) }}
{% if this.path == item.path %}
<span class="sr-only">(current)</span>
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment