Pluralize message counts properly
[rails.git] / app / views / message / _message_count.html.erb
1 <p id="inbox-count">
2 <%= t "message.inbox.messages",
3       :new_messages => t("message.inbox.new_messages", 
4                          :count => @user.new_messages.size),
5       :old_messages => t("message.inbox.old_messages", 
6                          :count => @user.messages.size - @user.new_messages.size)
7 %>
8 </p>