X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/18292dcc434ffd0d0605f28597009caf8b028008..5d471088b43dc881700cc46b5578553097de5388:/app/views/user/view.rhtml
diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml
index 1b7946f90..36bba478c 100644
--- a/app/views/user/view.rhtml
+++ b/app/views/user/view.rhtml
@@ -23,7 +23,7 @@
<% if @this_user != nil %>
-<%= t 'user.view.mapper since' %><%= l @this_user.creation_time %> (<%= time_ago_in_words(@this_user.creation_time) %> ago)
+<%= t 'user.view.mapper since' %><%= l @this_user.creation_time %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %>
<% end %>
@@ -71,7 +71,7 @@
<% end %>
<%= link_to h(@friend.display_name), :controller => 'user', :action => 'view', :display_name => @friend.display_name %> |
- <% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :distance => l(@this_user.distance(@friend).round) %><% end %> |
+ <% if @friend.home_lon and @friend.home_lat %><%= t 'user.view.km away', :count => @this_user.distance(@friend).round %><% end %> |
(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => @friend.id %>) |
<%end%>
@@ -93,7 +93,7 @@
<% @this_user.nearby.each do |nearby| %>
<%= link_to h(nearby.display_name), :controller => 'user', :action => 'view', :display_name => nearby.display_name %> |
- <%= t 'user.view.no nearby users', :distance => l(@this_user.distance(nearby).round) %> |
+ <%= t 'user.view.km away', :count => @this_user.distance(nearby).round %> |
(<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => nearby.id %>) |
<% end %>