From: Shaun McDonald Date: Sun, 31 May 2009 11:30:53 +0000 (+0000) Subject: Add the ago translation in the user account view that was missed. X-Git-Tag: live~7366^2~31 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/e9bea64bf6806be1b0a951fd684fa13314cb8b67 Add the ago translation in the user account view that was missed. --- diff --git a/app/views/user/view.rhtml b/app/views/user/view.rhtml index 1b7946f90..509630643 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 %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 5380f3fdc..a8967d452 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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