]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/_message_count.html.erb
Explain how to load data for testing
[rails.git] / app / views / message / _message_count.html.erb
index 27b0aa644f0f58cf6e7446b73ef929737164e618..9b5edd26cf3cfad0251d2f6f3664362b2fc392d3 100644 (file)
@@ -1 +1,8 @@
-<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>