Translate the title of the user diary view.

This commit is contained in:
Tom Hughes 2009-06-05 14:59:13 +00:00
parent c69f90edb0
commit 1bd3a83add
11 changed files with 11 additions and 1 deletions

View file

@ -1,4 +1,4 @@
<h2><%= h(@entry.user.display_name) %>'s diary</h2>
<h2><%= t 'diary_entry.view.user_title', :user => h(@entry.user.display_name) %></h2>
<%= render :partial => 'diary_entry', :object => @entry %>