Added translations to trace_paging_nav
This commit is contained in:
parent
32c0a7e5a8
commit
a53a30d37a
2 changed files with 6 additions and 2 deletions
|
@ -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) } %>
|
||||
|
|
|
@ -307,6 +307,10 @@ en:
|
|||
make_public: "Make this track public permanently"
|
||||
edit_track: "Edit this track"
|
||||
delete_track: "Delete this track"
|
||||
trace_paging_nav:
|
||||
showing: "Showing page"
|
||||
of: "of"
|
||||
|
||||
trace:
|
||||
pending: "PENDING"
|
||||
more: "more"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue