{% with event.get_previous_by_publish_date as previous %}
{% if previous %}
<li class="split-left">
- <a href="{{ previous.get_absolute_url }}" class="pager__item--before">← {{ previous }}</a>
+ <a href="{{ previous.get_absolute_url }}" class="pager__item--before">← {% trans "Previous event" %}</a>
</li>
{% endif %}
{% endwith %}
{% with event.get_next_by_publish_date as next %}
{% if next %}
<li class="split-right">
- <a href="{{ next.get_absolute_url }}" class="pager__item--after">{{ next }} →</a>
+ <a href="{{ next.get_absolute_url }}" class="pager__item--after">{% trans "Next event" %} →</a>
</li>
{% endif %}
{% endwith %}