aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/user/contact.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user/contact.rhtml')
-rw-r--r--app/views/user/contact.rhtml12
1 files changed, 5 insertions, 7 deletions
diff --git a/app/views/user/contact.rhtml b/app/views/user/contact.rhtml
index 4bbb15789..333b72334 100644
--- a/app/views/user/contact.rhtml
+++ b/app/views/user/contact.rhtml
@@ -9,21 +9,21 @@
<% form_for :contact do |f| %>
<div class="form_note">
- <h1>Contact <%=h @recipient_user.name%></h1>
+ <h1><%= _("Contact {{recipient}}", :recipient => h(@recipient_user.name)) %></h1>
</div>
<p>
- <label class="form_label">From:</label>
+ <label class="form_label"><%= _("From") %>:</label>
<%= h(@user.name_and_email) %>
</p>
<p>
- <label class="form_label" for="contact_subject">Subject:</label>
+ <label class="form_label" for="contact_subject"><%= _("Subject") %>:</label>
<%= f.text_field :subject, :size => 50 %>
</p>
<p>
- <label class="form_label" for="contact_message">Message:</label>
+ <label class="form_label" for="contact_message"><%= _("Message") %>:</label>
<%= f.text_area :message, :rows => 10, :cols => 50 %>
</p>
@@ -39,9 +39,7 @@
<div class="form_button">
<%= hidden_field_tag(:submitted_contact_form, { :value => 1 } ) %>
- <%= submit_tag "Send message" %>
+ <%= submit_tag _("Send message") %>
</div>
<% end %>
-
-