X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3c79240a6ab23e4103826dd1cec7a12a19e948db..5b0024e61abe15543740bdc4b58c673d62a394d2:/app/views/message/inbox.rhtml
diff --git a/app/views/message/inbox.rhtml b/app/views/message/inbox.rhtml
index aa20327e3..38fe8495b 100644
--- a/app/views/message/inbox.rhtml
+++ b/app/views/message/inbox.rhtml
@@ -1,14 +1,14 @@
-
My inbox
+<%= t'message.inbox.my_inbox'%>/<%= link_to t('message.inbox.outbox'), url_for(:controller => "user", :action => "outbox", :id => @user.display_name) %>
-You have <%= @user.new_messages.size %> new messages and <%= @user.messages.size - @user.new_messages.size %> old messages
+<%= t'message.inbox.you_have', :new_count => @user.new_messages.size, :old_count => (@user.messages.size - @user.new_messages.size) %>
<% if @user.messages.size > 0 %>
- From |
- Subject |
- Date |
+ <%= t'message.inbox.from' %> |
+ <%= t'message.inbox.subject' %> |
+ <%= t'message.inbox.date' %> |
|
|
@@ -16,5 +16,5 @@
<% else %>
- You have no 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 %>?
-<% end %>
\ No newline at end of file
+ <%= t'message.inbox.no_messages_yet', :people_mapping_nearby_link => link_to(t('message.inbox.people_mapping_nearby'), :controller => 'user', :action => 'view', :display_name => @user.display_name) %>
+<% end %>