]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/changesets_helper.rb
Move changeset created/closed time ago strings to changesets locale
[rails.git] / app / helpers / changesets_helper.rb
index f580ba5498ffb1a1a7f2ce05f35efe9a63a173a6..dbee08c507f175e691fffae849b45b357f3515f7 100644 (file)
@@ -23,10 +23,10 @@ module ChangesetsHelper
     end
 
     if params.key?(:display_name)
-      t "browse.#{action}_ago_html", :time_ago => tag.time(time, :title => title, :datetime => datetime)
+      t "changesets.show.#{action}_ago_html", :time_ago => tag.time(time, :title => title, :datetime => datetime)
     else
-      t "browse.#{action}_ago_by_html", :time_ago => tag.time(time, :title => title, :datetime => datetime),
-                                        :user => changeset_user_link(changeset)
+      t "changesets.show.#{action}_ago_by_html", :time_ago => tag.time(time, :title => title, :datetime => datetime),
+                                                 :user => changeset_user_link(changeset)
     end
   end