From 36497d8268524daa3edc6d52c82ef3d81112c740 Mon Sep 17 00:00:00 2001 From: Shaun McDonald Date: Sun, 31 May 2009 23:24:26 +0000 Subject: [PATCH] Fix wrong translation key in nearby user list. Hopefully fixes #1885 --- app/views/user/view.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index d97680e6b..37954e54b 100644 --- a/app/views/user/view.rhtml +++ b/app/views/user/view.rhtml @@ -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 => @this_user.distance(nearby).round %> + <%= t 'user.view.km away', :distance => @this_user.distance(nearby).round %> (<%= link_to t('user.view.send message'), :controller => 'message', :action => 'new', :user_id => nearby.id %>) <% end %> -- 2.39.5