]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/_trace_paging_nav.rhtml
Add a title to the changeset lists. Closes #1938.
[rails.git] / app / views / trace / _trace_paging_nav.rhtml
index a7e752893dd15c7546507b3598a1c07dd1a1b062..9ac80d4cd9a74678cd782e1648c0d9f548f588a6 100644 (file)
@@ -1,12 +1,12 @@
 <% 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(@trace_pages) %>
+ | <%= pagination_links_each(@trace_pages, {}) { |n| link_to_page(n) } %>
 <% end %>