Fix pluralization of has/have

This commit is contained in:
Max Wofford
2025-03-13 11:25:32 -04:00
parent b31271c748
commit dc68104536

View File

@@ -6,7 +6,7 @@
</p>
<% unless current_user %>
<p class="subtitle">
Hackatime is an open source tool for tracking your coding time.<% if @active_users_count.positive? %> <%= pluralize(@active_users_count, 'hack clubber') %> have logged time coding in the last hour.<% end %>
Hackatime is an open source tool for tracking your coding time.<% if @active_users_count.positive? %> <%= pluralize(@active_users_count, 'hack clubber has') %> logged time coding in the last hour.<% end %>
</p>
<% end %>
<% if current_user %>