aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/comment/preview.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/comment/preview.rhtml')
-rw-r--r--app/views/comment/preview.rhtml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/comment/preview.rhtml b/app/views/comment/preview.rhtml
index 38c5fe1ff..702bd9a9b 100644
--- a/app/views/comment/preview.rhtml
+++ b/app/views/comment/preview.rhtml
@@ -1,13 +1,13 @@
-<% @title = "Preview new annotation on '" + h(@info_request.title) + "'" %>
+<% @title = _("Preview new annotation on '{{info_request_title}}'",:info_request_title=>h(@info_request.title)) %>
<% form_for(:comment, @comment, :html => { :id => 'preview_form' }, :url => { :controller => "comment", :action => "new", :type => "request" } ) do |f| %>
- <h1>Now preview your annotation</h1>
+ <h1><%= _('Now preview your annotation') %></h1>
<%= render :partial => 'comment/single_comment', :locals => { :comment => @comment } %>
<p>
- Your name and annotation will appear in <strong>search engines</strong>.
+ <%= _('Your name and annotation will appear in <strong>search engines</strong>.')%>
</p>
<p>
@@ -17,8 +17,8 @@
<% end %>
<%= hidden_field_tag(:submitted_comment, 1) %>
<%= hidden_field_tag(:preview, 0 ) %>
- <%= submit_tag "Re-edit this annotation", :name => 'reedit' %>
- <%= submit_tag "Post annotation", :name => 'submit' %>
+ <%= submit_tag _("Re-edit this annotation"), :name => 'reedit' %>
+ <%= submit_tag _("Post annotation"), :name => 'submit' %>
</p>
<% end %>