X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a7ab3570ce850d7f541e2c709ad98986c7b35ef..e70e2dbe9f3fd6422ba74c5f36d50c80705c2ba8:/app/views/message/_message_summary.rhtml
diff --git a/app/views/message/_message_summary.rhtml b/app/views/message/_message_summary.rhtml
index 263e30e64..129204d2d 100644
--- a/app/views/message/_message_summary.rhtml
+++ b/app/views/message/_message_summary.rhtml
@@ -4,11 +4,11 @@
">
<%= link_to h(message_summary.sender.display_name), :controller => 'user', :action => message_summary.sender.display_name %> |
<%= link_to h(message_summary.title), :controller => 'message', :action => 'read', :message_id => message_summary.id %> |
- <%= message_summary.sent_on %> |
+ <%= l message_summary.sent_on %> |
<% if message_summary.message_read? %>
- <%= button_to 'Mark as unread', :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'unread' %> |
+ <%= button_to t('message.message_summary.unread_button'), :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'unread' %> |
<% else %>
- <%= button_to 'Mark as read', :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'read' %> |
+ <%= button_to t('message.message_summary.read_button'), :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'read' %> |
<% end %>
- <%= button_to 'Reply', :controller => 'message', :action => 'reply', :message_id => message_summary.id %> |
+ <%= button_to t('message.message_summary.reply_button'), :controller => 'message', :action => 'reply', :message_id => message_summary.id %> |