]> git.openstreetmap.org Git - rails.git/commitdiff
Added translations to trace_paging_nav
authorJenny Herbert <jennyh@svn.openstreetmap.org>
Sun, 31 May 2009 15:13:43 +0000 (15:13 +0000)
committerJenny Herbert <jennyh@svn.openstreetmap.org>
Sun, 31 May 2009 15:13:43 +0000 (15:13 +0000)
app/views/trace/_trace_paging_nav.rhtml
config/locales/en.yml

index fec83e3dac5f24d1bf9d92d0d0906583968978a1..9ac80d4cd9a74678cd782e1648c0d9f548f588a6 100644 (file)
@@ -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) } %>
index e65dba32e8dbebcb3570e74fbcab08a89d5eb6d1..bbd4f2d1b6535d0978f8a990bb646e437172cb55 100644 (file)
@@ -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"