From: Jenny Herbert Date: Sun, 31 May 2009 15:13:43 +0000 (+0000) Subject: Added translations to trace_paging_nav X-Git-Tag: live~7339^2~14 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a53a30d37ac3a9d486b2dfdd53019147539f238c Added translations to trace_paging_nav --- 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) } %> diff --git a/config/locales/en.yml b/config/locales/en.yml index e65dba32e..bbd4f2d1b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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"