X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3851a672e25fd5a29c14b7501404e9a608d67aaa..33ea119c8f520a7e679e38b569c202976907a501:/app/views/message/_message_count.html.erb?ds=inline 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) +%> +