]> git.openstreetmap.org Git - rails.git/commitdiff
Add the ago translation in the user account view that was missed.
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 31 May 2009 11:30:53 +0000 (11:30 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Sun, 31 May 2009 11:30:53 +0000 (11:30 +0000)
app/views/user/view.rhtml
config/locales/en.yml

index 1b7946f9048740d0c6e7f76b3c7218fee0786c66..5096306431635eb333757622c896c1285142197c 100644 (file)
@@ -23,7 +23,7 @@
 
 <% if @this_user != nil %>
 <P>
-<b><%= t 'user.view.mapper since' %></b><%= l @this_user.creation_time %> (<%= time_ago_in_words(@this_user.creation_time) %> ago)
+<b><%= t 'user.view.mapper since' %></b><%= l @this_user.creation_time %> <%= t 'user.view.ago', :time_in_words_ago => time_ago_in_words(@this_user.creation_time) %>
 </P>
 <% end %>
   
index 5380f3fdcb855e439dcfb69e75a6330daf17192e..a8967d4522240beda3dc7a3ba82783fe9acf8ab5 100644 (file)
@@ -274,6 +274,7 @@ en:
       remove as friend: remove as friend
       add as friend: add as friend
       mapper since: "Mapper since: "
+      ago: "({{time_in_words_ago}} ago)"
       user image heading: User image
       delete image: Delete Image
       upload an image: Upload an image