X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d736a158bee0ff17bdba30496b87e1bfe20e2910..7a9b2de42b8e969c162917e3e69877815a6eab75:/app/views/message/outbox.rhtml
diff --git a/app/views/message/outbox.rhtml b/app/views/message/outbox.rhtml
index 6fcbdfa21..3e6346c9a 100644
--- a/app/views/message/outbox.rhtml
+++ b/app/views/message/outbox.rhtml
@@ -1,18 +1,18 @@
-
My <%= link_to "inbox", url_for(:controller => "user", :action => "inbox", :id => @user.display_name) %>/outbox
+<%= t'message.outbox.my_inbox', :inbox_link => link_to(t('message.outbox.inbox'), url_for(:controller => "user", :action => "inbox", :id => @user.display_name)) %>/<%= t'message.outbox.outbox' %>
-You have <%= @user.sent_messages.size %> sent messages
+
<%= t'message.outbox.you_have_sent_messages', :sent_count => @user.sent_messages.size %>
<% if @user.sent_messages.size > 0 %>
- To |
- Subject |
- Date |
+ <%= t'message.outbox.to' %> |
+ <%= t'message.outbox.subject' %> |
+ <%= t'message.outbox.date' %> |
<%= render :partial => "sent_message_summary", :collection => @user.sent_messages %>
<% else %>
- You have no sent messages yet. Why not get in touch with some of the <%= link_to 'people mapping nearby', :controller => 'user', :action => 'view', :display_name => @user.display_name %>?
+ <%= t'message.outbox.no_sent_messages', :people_mapping_nearby_link => link_to(t('message.outbox.people_mapping_nearby'), :controller => 'user', :action => 'view', :display_name => @user.display_name) %>
<% end %>