diff --git a/app/views/messages/inbox.html.erb b/app/views/messages/inbox.html.erb index 0fb5107ce..a27d7f15c 100644 --- a/app/views/messages/inbox.html.erb +++ b/app/views/messages/inbox.html.erb @@ -3,7 +3,14 @@ <% end %> <% content_for :heading do %> -

<%= t ".my_inbox" %>/<%= link_to t(".outbox"), outbox_messages_path %>

+ <% end %>

<%= render :partial => "message_count" %>

diff --git a/app/views/messages/outbox.html.erb b/app/views/messages/outbox.html.erb index 5ae9706b7..562bd9df1 100644 --- a/app/views/messages/outbox.html.erb +++ b/app/views/messages/outbox.html.erb @@ -3,7 +3,14 @@ <% end %> <% content_for :heading do %> -

<%= t(".my_inbox_html", :inbox_link => link_to(t(".inbox"), inbox_messages_path)) %>/<%= t ".outbox" %>

+ <% end %>

<%= t ".messages", :count => current_user.sent_messages.size %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index f7ee6d04a..a2b8ab442 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1519,7 +1519,7 @@ en: inbox: title: "Inbox" my_inbox: "My Inbox" - outbox: "outbox" + my_outbox: "My Outbox" messages: "You have %{new_messages} and %{old_messages}" new_messages: one: "%{count} new message" @@ -1552,9 +1552,8 @@ en: body: "Sorry there is no message with that id." outbox: title: "Outbox" - my_inbox_html: "My %{inbox_link}" - inbox: "inbox" - outbox: "outbox" + my_inbox: "My Inbox" + my_outbox: "My Outbox" messages: one: "You have %{count} sent message" other: "You have %{count} sent messages"