]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.rhtml
Fix wrong translation key in nearby user list. Hopefully fixes #1885
[rails.git] / app / views / user / view.rhtml
index d97680e6b5702599659f91a388b14a743216dc1d..37954e54baabffc30116ab868ee6a26c42696a5c 100644 (file)
@@ -93,7 +93,7 @@
       <% @this_user.nearby.each do |nearby| %>
       <tr>
       <td class="username"><%= link_to h(nearby.display_name), :controller => 'user', :action => 'view',  :display_name => nearby.display_name %></td>
-      <td><%= t 'user.view.no nearby users', :distance => @this_user.distance(nearby).round %></td>
+      <td><%= t 'user.view.km away', :distance => @this_user.distance(nearby).round %></td>
       <td class="message">(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => nearby.id %>)</td>
       </tr>
       <% end %>