+<% translation_scope ||= "shared.pagination.#{controller.controller_name}" %>
<nav>
<% link_class = "page-link icon-link text-center" %>
<ul class="pagination">
<% newer_link_content = capture do %>
<%= previous_page_svg_tag :class => "flex-shrink-0 d-none d-sm-block" %>
- <%= t(newer_key) %>
+ <%= t :newer, :scope => translation_scope %>
<% end %>
<% if newer_id -%>
<li class="page-item d-flex">
<% end -%>
<% older_link_content = capture do %>
- <%= t(older_key) %>
+ <%= t :older, :scope => translation_scope %>
<%= next_page_svg_tag :class => "flex-shrink-0 d-none d-sm-block" %>
<% end %>
<% if older_id -%>