]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/_contact.html.erb
Update translation keys for renaming of user to users
[rails.git] / app / views / users / _contact.html.erb
index bcc2faf354bf54f4a1987a20deefd4d815c3c0f4..ec39136968cbf490aedd4dbaf62e3158ba134a4b 100644 (file)
@@ -14,9 +14,9 @@
       <% if @user.home_lon and @user.home_lat and contact.home_lon and contact.home_lat %>
         <% distance = @user.distance(contact) %>
         <% if distance < 1 %>
       <% if @user.home_lon and @user.home_lat and contact.home_lon and contact.home_lat %>
         <% distance = @user.distance(contact) %>
         <% if distance < 1 %>
-          (<%= t 'user.show.m away', :count => (distance * 1000).round %>)
+          (<%= t 'users.show.m away', :count => (distance * 1000).round %>)
         <% else %>
         <% else %>
-          (<%= t 'user.show.km away', :count => distance.round %>)
+          (<%= t 'users.show.km away', :count => distance.round %>)
         <% end %>
       <% end %>
     </p>
         <% end %>
       <% end %>
     </p>