X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bb905aa28538cb2906fa2edceb81478ec0820ea5..ea93ad2f077de1be04a9087c7d20547395fdef9e:/app/views/diary_entry/view.rhtml
diff --git a/app/views/diary_entry/view.rhtml b/app/views/diary_entry/view.rhtml
index ca678c50b..7ff35b494 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
+<%= t 'diary_entry.view.user_title', :user => h(@entry.user.display_name) %>
<%= render :partial => 'diary_entry', :object => @entry %>
@@ -8,17 +8,17 @@
<% 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 %>
-
+
<% end %>