X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3851a672e25fd5a29c14b7501404e9a608d67aaa..e7e12a38c6585763bfa29ff189cf4c9cea646281:/app/views/message/_message_count.html.erb diff --git a/app/views/message/_message_count.html.erb b/app/views/message/_message_count.html.erb index 27b0aa644..3a995c171 100644 --- a/app/views/message/_message_count.html.erb +++ b/app/views/message/_message_count.html.erb @@ -1 +1,8 @@ -
<%= t'message.inbox.you_have', :new_count => @user.new_messages.size, :old_count => (@user.messages.size - @user.new_messages.size) %>
++<%= t "message.inbox.messages", + :new_messages => t("message.inbox.new_messages", + :count => current_user.new_messages.size), + :old_messages => t("message.inbox.old_messages", + :count => current_user.messages.size - current_user.new_messages.size) +%> +