X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6d6c9ddc8c80215b015037254e019aa05f643741..6378c21ecb27f63e57e161f520fb8989450d47cf:/app/views/trace/_trace_paging_nav.rhtml diff --git a/app/views/trace/_trace_paging_nav.rhtml b/app/views/trace/_trace_paging_nav.rhtml index fec83e3da..9ac80d4cd 100644 --- a/app/views/trace/_trace_paging_nav.rhtml +++ b/app/views/trace/_trace_paging_nav.rhtml @@ -1,11 +1,11 @@ <% current_page = @trace_pages.current_page %> -Showing page +<%= t'trace.trace_paging_nav.showing' %> <%= current_page.number %> (<%= current_page.first_item %><% if (current_page.first_item < current_page.last_item) # if more than 1 trace on page %>-<%= current_page.last_item %><% end %> -of <%= @trace_pages.item_count %>) +<%= t'trace.trace_paging_nav.of' %> <%= @trace_pages.item_count %>) <% if @trace_pages.page_count > 1 %> | <%= pagination_links_each(@trace_pages, {}) { |n| link_to_page(n) } %>