X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bb905aa28538cb2906fa2edceb81478ec0820ea5..3b329ff9f9d799b2d3e4fe8a0030bd30aa08adef:/app/views/diary_entry/view.rhtml
diff --git a/app/views/diary_entry/view.rhtml b/app/views/diary_entry/view.rhtml
index ca678c50b..85fe71ae4 100644
--- a/app/views/diary_entry/view.rhtml
+++ b/app/views/diary_entry/view.rhtml
@@ -1,4 +1,4 @@
-
<%= @entry.user.display_name %>'s diary
+<%= h(@entry.user.display_name) %>'s diary
<%= render :partial => 'diary_entry', :object => @entry %>
@@ -8,13 +8,13 @@
<% if @user %>
-
+
<%= error_messages_for 'diary_comment' %>
<% form_for :diary_comment, @diary_comment, :url => { :action => 'comment' } do |f| %>
<%= f.text_area :body, :cols => 80, :rows => 5 %>
-<%= submit_tag 'Save' %>
+<%= submit_tag t('diary_entry.view.save_button') %>
<% end %>
<% else %>