]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_comment.rhtml
Diary entries pretty much i18n'd. Additional test that checks there are no missing...
[rails.git] / app / views / diary_entry / _diary_comment.rhtml
index 2aca51f545c89d2f4adc1b4aedf5d9e32e4fd6b7..45cce0b25326f32dd7a6fb1877ac6c5ea344d964 100644 (file)
@@ -1,3 +1,3 @@
-<h4 id="comment<%= diary_comment.id %>">Comment from <%= link_to h(diary_comment.user.display_name), :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name %>  at <%= diary_comment.created_at %></h4>
+<h4 id="comment<%= diary_comment.id %>"><%= t('diary_entry.comment_from', :link_user => (link_to h(diary_comment.user.display_name), :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name), :comment_created_at => l(diary_comment.created_at)) %></h4>
 <%= htmlize(diary_comment.body) %>
 <hr />