X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bbf30e76e4bfcd70e62fc84ecd32c5e494506e9e..aaaeb211dea4711fd6bff4d79c1339e82a43ebcd:/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) +%> +