-<p id="inbox-count"><%= t'message.inbox.you_have', :new_count => @user.new_messages.size, :old_count => (@user.messages.size - @user.new_messages.size) %></p>
+<p id="inbox-count">
+<%= t "message.inbox.messages",
+ :new_messages => t("message.inbox.new_messages",
+ :count => @user.new_messages.size),
+ :old_messages => t("message.inbox.old_messages",
+ :count => @user.messages.size - @user.new_messages.size)
+%>
+</p>
<h2><%= raw(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' %></h2>
-<p><%= t'message.outbox.you_have_sent_messages', :count => @user.sent_messages.size %>
+<p><%= t'message.outbox.messages', :count => @user.sent_messages.size %>
<% if @user.sent_messages.size > 0 %>
<div id="messages">
title: "Inbox"
my_inbox: "My inbox"
outbox: "outbox"
- you_have: "You have %{new_count} new messages and %{old_count} old messages"
+ messages: "You have %{new_messages} and %{old_messages}"
+ new_messages:
+ one: "%{count} new message"
+ other: "%{count} new messages"
+ old_messages:
+ one: "%{count} old message"
+ other: "%{count} old messages"
from: "From"
subject: "Subject"
date: "Date"
my_inbox: "My %{inbox_link}"
inbox: "inbox"
outbox: "outbox"
- you_have_sent_messages: "You have %{count} sent messages"
+ messages:
+ one: "You have %{count} sent message"
+ other: "You have %{count} sent messages"
to: "To"
subject: "Subject"
date: "Date"