X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6254853c5c6a76417aed186798a0292c07d30ff4..5d471088b43dc881700cc46b5578553097de5388:/app/views/diary_entry/view.rhtml diff --git a/app/views/diary_entry/view.rhtml b/app/views/diary_entry/view.rhtml index 85fe71ae4..7ff35b494 100644 --- a/app/views/diary_entry/view.rhtml +++ b/app/views/diary_entry/view.rhtml @@ -1,4 +1,4 @@ -

<%= h(@entry.user.display_name) %>'s diary

+

<%= t 'diary_entry.view.user_title', :user => h(@entry.user.display_name) %>

<%= render :partial => 'diary_entry', :object => @entry %> @@ -19,6 +19,6 @@ <% else %> -

<%= link_to "Login", :controller => 'user', :action => 'login', :referer => request.request_uri %> to leave a comment

+

<%= t("diary_entry.view.login_to_leave_a_comment", :login_link => link_to(t("diary_entry.view.login"), :controller => 'user', :action => 'login', :referer => request.request_uri)) %>

<% end %>